summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/url/url-setters.any.js.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/url/url-setters.any.js.ini
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/url/url-setters.any.js.ini')
-rw-r--r--testing/web-platform/meta/url/url-setters.any.js.ini1000
1 files changed, 1000 insertions, 0 deletions
diff --git a/testing/web-platform/meta/url/url-setters.any.js.ini b/testing/web-platform/meta/url/url-setters.any.js.ini
new file mode 100644
index 0000000000..eb384be3cf
--- /dev/null
+++ b/testing/web-platform/meta/url/url-setters.any.js.ini
@@ -0,0 +1,1000 @@
+[url-setters.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [URL: Setting <http://test@example.net>.protocol = 'file' Can’t switch from URL containing username/password/port to file]
+ expected: FAIL
+
+ [URL: Setting <https://example.net:1234>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <wss://x:x@example.net:1234>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <file:///test>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.protocol = 'b' Can’t switch from special scheme to non-special]
+ expected: FAIL
+
+ [URL: Setting <file://hi/path>.protocol = 's']
+ expected: FAIL
+
+ [URL: Setting <https://example.net>.protocol = 's']
+ expected: FAIL
+
+ [URL: Setting <ftp://example.net>.protocol = 'test']
+ expected: FAIL
+
+ [URL: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesn’t have a host, but URL in a special scheme must.]
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'http' Can’t switch from non-special scheme to special]
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <ssh://example.net>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <nonsense:///test>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.username = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.username = 'wario']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.username = 'test']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.password = 'bowser']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.password = 'test']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\x00' Non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\t']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\n']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\r']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = ' ']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '#']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '/']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '?']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '@']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = 'ß']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes]
+ expected: FAIL
+
+ [URL: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.host = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
+ expected: FAIL
+
+ [URL: Setting <file://y/>.host = 'x:123']
+ expected: FAIL
+
+ [URL: Setting <sc://test@test/>.host = '']
+ expected: FAIL
+
+ [URL: Setting <sc://test:12/>.host = '']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\x00' Non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\t']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\n']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\r']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = ' ']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '#']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '/']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '?']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '@']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes]
+ expected: FAIL
+
+ [URL: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.hostname = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
+ expected: FAIL
+
+ [URL: Setting <file://y/>.hostname = 'x:123']
+ expected: FAIL
+
+ [URL: Setting <sc://test@test/>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <sc://test:12/>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = 'h' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
+ expected: FAIL
+
+ [URL: Setting <non-special://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
+ expected: FAIL
+
+ [URL: Setting <file://test/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket']
+ expected: FAIL
+
+ [URL: Setting <http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is a segment delimiter for 'special' URLs]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
+ expected: FAIL
+
+ [URL: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
+ expected: FAIL
+
+ [URL: Setting <sc://example.net>.pathname = '?' ? needs to be encoded, non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://example.net>.pathname = '#' # needs to be encoded, non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
+ expected: FAIL
+
+ [URL: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '/.//p' Serialize /. in path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '/..//p']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '//p']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//>.pathname = 'p' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
+ expected: FAIL
+
+ [URL: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
+ expected: FAIL
+
+ [URL: Setting <sc://example.com/>.host = '///bad.com' Leading / is not stripped]
+ expected: FAIL
+
+ [URL: Setting <sc://example.com/>.hostname = '///bad.com' Leading / is not stripped]
+ expected: FAIL
+
+ [URL: Setting <foo://somehost/some/path>.pathname = '' Non-special URLs can have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:///some/path>.pathname = '' Non-special URLs with an empty host can have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:/some/path>.pathname = '' Path-only URLs cannot have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:/some/path>.pathname = 'test' Path-only URLs always have an initial slash]
+ expected: FAIL
+
+ [URL: Setting <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
+ expected: FAIL
+
+ [URL: Setting <sc:/nospace>.pathname = 'space ']
+ expected: FAIL
+
+
+[url-setters.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [URL: Setting <http://test@example.net>.protocol = 'file' Can’t switch from URL containing username/password/port to file]
+ expected: FAIL
+
+ [URL: Setting <https://example.net:1234>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <wss://x:x@example.net:1234>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <file:///test>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.protocol = 'b' Can’t switch from special scheme to non-special]
+ expected: FAIL
+
+ [URL: Setting <file://hi/path>.protocol = 's']
+ expected: FAIL
+
+ [URL: Setting <https://example.net>.protocol = 's']
+ expected: FAIL
+
+ [URL: Setting <ftp://example.net>.protocol = 'test']
+ expected: FAIL
+
+ [URL: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesn’t have a host, but URL in a special scheme must.]
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'http' Can’t switch from non-special scheme to special]
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <ssh://example.net>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <nonsense:///test>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.username = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.username = 'wario']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.username = 'test']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.password = 'bowser']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.password = 'test']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\x00' Non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\t']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\n']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\r']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = ' ']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '#']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '/']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '?']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '@']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = 'ß']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes]
+ expected: FAIL
+
+ [URL: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.host = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
+ expected: FAIL
+
+ [URL: Setting <file://y/>.host = 'x:123']
+ expected: FAIL
+
+ [URL: Setting <sc://test@test/>.host = '']
+ expected: FAIL
+
+ [URL: Setting <sc://test:12/>.host = '']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\x00' Non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\t']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\n']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\r']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = ' ']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '#']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '/']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '?']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '@']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes]
+ expected: FAIL
+
+ [URL: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.hostname = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
+ expected: FAIL
+
+ [URL: Setting <file://y/>.hostname = 'x:123']
+ expected: FAIL
+
+ [URL: Setting <sc://test@test/>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <sc://test:12/>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = 'h' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
+ expected: FAIL
+
+ [URL: Setting <non-special://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
+ expected: FAIL
+
+ [URL: Setting <file://test/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket']
+ expected: FAIL
+
+ [URL: Setting <http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is a segment delimiter for 'special' URLs]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
+ expected: FAIL
+
+ [URL: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
+ expected: FAIL
+
+ [URL: Setting <sc://example.net>.pathname = '?' ? needs to be encoded, non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://example.net>.pathname = '#' # needs to be encoded, non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
+ expected: FAIL
+
+ [URL: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '/.//p' Serialize /. in path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '/..//p']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '//p']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//>.pathname = 'p' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
+ expected: FAIL
+
+ [URL: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
+ expected: FAIL
+
+ [URL: Setting <sc://example.com/>.host = '///bad.com' Leading / is not stripped]
+ expected: FAIL
+
+ [URL: Setting <sc://example.com/>.hostname = '///bad.com' Leading / is not stripped]
+ expected: FAIL
+
+ [URL: Setting <foo://somehost/some/path>.pathname = '' Non-special URLs can have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:///some/path>.pathname = '' Non-special URLs with an empty host can have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:/some/path>.pathname = '' Path-only URLs cannot have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:/some/path>.pathname = 'test' Path-only URLs always have an initial slash]
+ expected: FAIL
+
+ [URL: Setting <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
+ expected: FAIL
+
+ [URL: Setting <sc:/nospace>.pathname = 'space ']
+ expected: FAIL
+
+
+[url-setters.any.html?include=javascript]
+ [URL: Setting <javascript://x/>.username = 'wario']
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.password = 'bowser']
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.port = '12']
+ expected: FAIL
+
+
+[url-setters.any.worker.html?exclude=(file|javascript|mailto)]
+ [URL: Setting <http://test@example.net>.protocol = 'file' Can’t switch from URL containing username/password/port to file]
+ expected: FAIL
+
+ [URL: Setting <https://example.net:1234>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <wss://x:x@example.net:1234>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.protocol = 'b' Can’t switch from special scheme to non-special]
+ expected: FAIL
+
+ [URL: Setting <https://example.net>.protocol = 's']
+ expected: FAIL
+
+ [URL: Setting <ftp://example.net>.protocol = 'test']
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'http' Can’t switch from non-special scheme to special]
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <ssh://example.net>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <nonsense:///test>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.username = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\x00' Non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\t']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\n']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\r']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = ' ']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '#']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '/']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '?']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '@']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = 'ß']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes]
+ expected: FAIL
+
+ [URL: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.host = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
+ expected: FAIL
+
+ [URL: Setting <sc://test@test/>.host = '']
+ expected: FAIL
+
+ [URL: Setting <sc://test:12/>.host = '']
+ expected: FAIL
+
+ [URL: Setting <sc://example.com/>.host = '///bad.com' Leading / is not stripped]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\x00' Non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\t']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\n']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\r']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = ' ']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '#']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '/']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '?']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '@']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes]
+ expected: FAIL
+
+ [URL: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.hostname = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
+ expected: FAIL
+
+ [URL: Setting <sc://test@test/>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <sc://test:12/>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = 'h' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <sc://example.com/>.hostname = '///bad.com' Leading / is not stripped]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
+ expected: FAIL
+
+ [URL: Setting <non-special://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <foo://somehost/some/path>.pathname = '' Non-special URLs can have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:///some/path>.pathname = '' Non-special URLs with an empty host can have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:/some/path>.pathname = '' Path-only URLs cannot have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:/some/path>.pathname = 'test' Path-only URLs always have an initial slash]
+ expected: FAIL
+
+ [URL: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket']
+ expected: FAIL
+
+ [URL: Setting <http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is a segment delimiter for 'special' URLs]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
+ expected: FAIL
+
+ [URL: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
+ expected: FAIL
+
+ [URL: Setting <sc://example.net>.pathname = '?' ? needs to be encoded, non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://example.net>.pathname = '#' # needs to be encoded, non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '/.//p' Serialize /. in path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '/..//p']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '//p']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//>.pathname = 'p' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
+ expected: FAIL
+
+ [URL: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
+ expected: FAIL
+
+ [URL: Setting <sc:/nospace>.pathname = 'space ']
+ expected: FAIL
+
+ [URL: Setting <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
+ expected: FAIL
+
+ [URL: Setting <wpt++://domain.com:443>.port = '\t8080' Leading u0009 on non-special scheme]
+ expected: FAIL
+
+
+[url-setters.any.html?include=file]
+ [URL: Setting <file:///test>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <file://hi/path>.protocol = 's']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.username = 'test']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.password = 'test']
+ expected: FAIL
+
+ [URL: Setting <file://y/>.host = 'x:123']
+ expected: FAIL
+
+ [URL: Setting <file://y/>.hostname = 'x:123']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
+ expected: FAIL
+
+ [URL: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
+ expected: FAIL
+
+
+[url-setters.any.worker.html?include=javascript]
+ [URL: Setting <javascript://x/>.username = 'wario']
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.password = 'bowser']
+ expected: FAIL
+
+ [URL: Setting <javascript://x/>.port = '12']
+ expected: FAIL
+
+
+[url-setters.any.html?exclude=(file|javascript|mailto)]
+ [URL: Setting <http://test@example.net>.protocol = 'file' Can’t switch from URL containing username/password/port to file]
+ expected: FAIL
+
+ [URL: Setting <https://example.net:1234>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <wss://x:x@example.net:1234>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.protocol = 'b' Can’t switch from special scheme to non-special]
+ expected: FAIL
+
+ [URL: Setting <https://example.net>.protocol = 's']
+ expected: FAIL
+
+ [URL: Setting <ftp://example.net>.protocol = 'test']
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'http' Can’t switch from non-special scheme to special]
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <ssh://me@example.net>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <ssh://example.net>.protocol = 'file']
+ expected: FAIL
+
+ [URL: Setting <nonsense:///test>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.username = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
+ expected: FAIL
+
+ [URL: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\x00' Non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\t']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\n']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '\r']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = ' ']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '#']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '/']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '?']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = '@']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.host = 'ß']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes]
+ expected: FAIL
+
+ [URL: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.host = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
+ expected: FAIL
+
+ [URL: Setting <sc://test@test/>.host = '']
+ expected: FAIL
+
+ [URL: Setting <sc://test:12/>.host = '']
+ expected: FAIL
+
+ [URL: Setting <sc://example.com/>.host = '///bad.com' Leading / is not stripped]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\x00' Non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\t']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\n']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '\r']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = ' ']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '#']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '/']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '?']
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.hostname = '@']
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes]
+ expected: FAIL
+
+ [URL: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.hostname = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
+ expected: FAIL
+
+ [URL: Setting <sc://test@test/>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <sc://test:12/>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = 'h' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = '']
+ expected: FAIL
+
+ [URL: Setting <sc://example.com/>.hostname = '///bad.com' Leading / is not stripped]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
+ expected: FAIL
+
+ [URL: Setting <non-special://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
+ expected: FAIL
+
+ [URL: Setting <sc://x/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <foo://somehost/some/path>.pathname = '' Non-special URLs can have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:///some/path>.pathname = '' Non-special URLs with an empty host can have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:/some/path>.pathname = '' Path-only URLs cannot have their paths erased]
+ expected: FAIL
+
+ [URL: Setting <foo:/some/path>.pathname = 'test' Path-only URLs always have an initial slash]
+ expected: FAIL
+
+ [URL: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket']
+ expected: FAIL
+
+ [URL: Setting <http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is a segment delimiter for 'special' URLs]
+ expected: FAIL
+
+ [URL: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
+ expected: FAIL
+
+ [URL: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
+ expected: FAIL
+
+ [URL: Setting <sc://example.net>.pathname = '?' ? needs to be encoded, non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <sc://example.net>.pathname = '#' # needs to be encoded, non-special scheme]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '/.//p' Serialize /. in path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '/..//p']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/>.pathname = '//p']
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//>.pathname = 'p' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
+ expected: FAIL
+
+ [URL: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
+ expected: FAIL
+
+ [URL: Setting <sc:/nospace>.pathname = 'space ']
+ expected: FAIL
+
+ [URL: Setting <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
+ expected: FAIL
+
+ [URL: Setting <wpt++://domain.com:443>.port = '\t8080' Leading u0009 on non-special scheme]
+ expected: FAIL
+
+
+[url-setters.any.worker.html?include=file]
+ [URL: Setting <file:///test>.protocol = 'https']
+ expected: FAIL
+
+ [URL: Setting <file://hi/path>.protocol = 's']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.username = 'test']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.password = 'test']
+ expected: FAIL
+
+ [URL: Setting <file://y/>.host = 'x:123']
+ expected: FAIL
+
+ [URL: Setting <file://y/>.hostname = 'x:123']
+ expected: FAIL
+
+ [URL: Setting <file://test/>.port = '12']
+ expected: FAIL
+
+ [URL: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
+ expected: FAIL
+
+ [URL: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
+ expected: FAIL
+
+
+[url-setters.any.html?include=mailto]
+ [URL: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesn’t have a host, but URL in a special scheme must.]
+ expected: FAIL
+
+
+[url-setters.any.worker.html?include=mailto]
+ [URL: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesn’t have a host, but URL in a special scheme must.]
+ expected: FAIL