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-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/url/url-setters.any.js.ini
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
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.ini548
1 files changed, 548 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..754c4608d7
--- /dev/null
+++ b/testing/web-platform/meta/url/url-setters.any.js.ini
@@ -0,0 +1,548 @@
+[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 <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://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 <non-spec:/.//p>.hostname = 'h' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = '']
+ 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 <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 <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 <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
+ expected: FAIL
+
+
+[url-setters.any.html?include=file]
+ [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-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 <non-spec:/.//p>.hostname = 'h' Drop /. from path]
+ expected: FAIL
+
+ [URL: Setting <non-spec:/.//p>.hostname = '']
+ 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 <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 <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 <data:/nospace>.pathname = 'space ' Non-special URLs with non-opaque paths percent-encode U+0020]
+ expected: FAIL
+
+
+[url-setters.any.worker.html?include=file]
+ [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-setters.any.html?include=mailto]
+
+[url-setters.any.worker.html?include=mailto]