Bug 1511013 [wpt PR 14294] - [html] Add more protocol handlers tests: update test expectations. r=jgraham-on-IRC
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 14 Dec 2018 18:05:05 +0200
changeset 507874 466d0030af6d5528864fa88ff1a733f77a65d867
parent 507873 9670d2fdc1660e6c43ce0e6adb0cc0aba1461d8a
child 507875 b35c7bd52b7aa0659e3c0260ad0fd3d2ec71383e
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham-on-IRC
bugs1511013, 14294
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1511013 [wpt PR 14294] - [html] Add more protocol handlers tests: update test expectations. r=jgraham-on-IRC
testing/web-platform/meta/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html.ini
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html.ini
@@ -0,0 +1,268 @@
+[protocol.https.html]
+  [the unregisterProtocolHandler method should exist on the navigator object]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Valid URL "%s" should work.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%s" should work.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html#%s" should work.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html?foo=%s" should work.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html?foo=%s&bar" should work.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%s/bar/baz/" should work.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%s/bar/baz/?foo=1337&bar#baz" should work.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%s/foo/%s/" should work.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "" should throw SYNTAX_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "%S" should throw SYNTAX_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html" should throw SYNTAX_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%" should throw SYNTAX_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%a" should throw SYNTAX_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "http://example.com" should throw SYNTAX_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "http://[v8.:::]//url=%s" should throw SYNTAX_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "http://%s.com" should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "http://%s.example.com" should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "http://example.com/%s" should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "https://example.com/%s" should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "http://foobar.example.com/%s" should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "mailto:%s@example.com" should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Invalid URL "mailto:%s" should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "about" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "attachment" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "blob" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "chrome" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "cid" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "data" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "file" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "ftp" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "http" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "https" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "javascript" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "livescript" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "mid" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "mocha" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "opera" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "operamail" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "res" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "resource" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "shttp" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "tcl" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "vbscript" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "view-source" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "ws" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "wss" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "wyciwyg" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "unrecognized" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "mаilto" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "mailto:" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "mailto://" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "mailto�" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "mailtoo" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "mailto\n" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "http://" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "ssh:/" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "magnet:+" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "tel:sip" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: Attempting to override the "web+" protocol should throw SECURITY_ERR.]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "bitcoin" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "geo" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "im" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "irc" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "ircs" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "magnet" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "mailto" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "mms" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "news" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "nntp" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "openpgp4fpr" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "sip" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "sms" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "smsto" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "ssh" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "tel" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "urn" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "webcal" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "wtai" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "xmpp" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "BitcoIn" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "Irc" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "MagneT" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "SmsTo" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "TEL" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "teL" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "WebCAL" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "WTAI" protocol should work]
+    expected: FAIL
+
+  [unregisterProtocolHandler: overriding the "web+myprotocol" protocol should work]
+    expected: FAIL
+