diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/cookies/name | |
parent | Initial commit. (diff) | |
download | firefox-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/cookies/name')
-rw-r--r-- | testing/web-platform/meta/cookies/name/name-ctl.html.ini | 114 | ||||
-rw-r--r-- | testing/web-platform/meta/cookies/name/name.html.ini | 222 |
2 files changed, 336 insertions, 0 deletions
diff --git a/testing/web-platform/meta/cookies/name/name-ctl.html.ini b/testing/web-platform/meta/cookies/name/name-ctl.html.ini new file mode 100644 index 0000000000..20e22b051a --- /dev/null +++ b/testing/web-platform/meta/cookies/name/name-ctl.html.ini @@ -0,0 +1,114 @@ +[name-ctl.html] + [Cookie with %x0 in name is rejected (DOM).] + expected: FAIL + + [Cookie with %x9 in name is accepted (DOM).] + expected: FAIL + + [Cookie with %xa in name is rejected (DOM).] + expected: FAIL + + [Cookie with %xd in name is rejected (DOM).] + expected: FAIL + + [Cookie with %x7f in name is rejected (DOM).] + expected: FAIL + + [Cookie with %x0 in name is rejected or modified (HTTP).] + expected: FAIL + + [Cookie with %x1 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x2 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x3 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x4 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x5 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x6 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x7 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x8 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x9 in name is accepted (HTTP).] + expected: FAIL + + [Cookie with %xa in name is rejected or modified (HTTP).] + expected: FAIL + + [Cookie with %xb in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %xc in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %xd in name is rejected or modified (HTTP).] + expected: FAIL + + [Cookie with %xe in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %xf in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x10 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x11 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x12 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x13 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x14 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x15 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x16 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x17 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x18 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x19 in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x1a in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x1b in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x1c in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x1d in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x1e in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x1f in name is rejected (HTTP).] + expected: FAIL + + [Cookie with %x7f in name is rejected (HTTP).] + expected: FAIL diff --git a/testing/web-platform/meta/cookies/name/name.html.ini b/testing/web-platform/meta/cookies/name/name.html.ini new file mode 100644 index 0000000000..9334b7c76d --- /dev/null +++ b/testing/web-platform/meta/cookies/name/name.html.ini @@ -0,0 +1,222 @@ +[name.html] + [Return the most recent nameless cookie, even if preceded by =, in addition to other valid cookie] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Use last value for cookies with identical names] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Keep first-in, first-out name order] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Keep first-in, first-out single-char name order] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Keep non-alphabetic first-in, first-out name order] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Keep first-in, first-out order if comma-separated] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Set nameless cookie, given `Set-Cookie: =test16`] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Overwrite nameless cookie] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Ignore cookie with empty name and empty value] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Ignore cookie with no name or value] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for 1=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for $=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for !a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for @a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for #a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for $a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for %a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for ^a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for &a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for *a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for (a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for )a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for -a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for _a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for +=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for "a=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Name is set as expected for "a=b"=test] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [URL-encoded cookie name is not decoded] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Remove trailing WSP characters from the name string] + expected: FAIL + + [Remove leading WSP characters from the name string] + expected: FAIL + + [Only return the new cookie (with the same name)] + expected: FAIL + + [Ignore invalid attributes after nameless cookie] + expected: FAIL + + [Ignore invalid attributes after valid name (that looks like Cookie2 Version attribute)] + expected: FAIL + + [Set a cookie that has whitespace in its name] + expected: FAIL + + [Set a nameless cookie ignoring characters after first ;] + expected: FAIL + + [Set a nameless cookie ignoring characters after first ; (2)] + expected: FAIL + + [Return the most recent nameless cookie] + expected: FAIL + + [Return the most recent nameless cookie, without leading =] + expected: FAIL + + [Return the most recent nameless cookie, even if preceded by =] + expected: FAIL + + [Ignore nameless cookies that impersonate cookie prefixes] + expected: FAIL + + [Set a nameless cookie (that has an = in its value)] + expected: FAIL + + [Set a nameless cookie (that has multiple ='s in its value)] + expected: FAIL + + [Set a nameless cookie] + expected: FAIL + + [Set valueless cookie to its name with empty value] + expected: FAIL |