diff options
Diffstat (limited to 'testing/web-platform/meta/cookies/name')
-rw-r--r-- | testing/web-platform/meta/cookies/name/name-ctl.html.ini | 84 | ||||
-rw-r--r-- | testing/web-platform/meta/cookies/name/name.html.ini | 234 |
2 files changed, 318 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..a4a6c8eebf --- /dev/null +++ b/testing/web-platform/meta/cookies/name/name-ctl.html.ini @@ -0,0 +1,84 @@ +[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 %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..95bf0fd8c6 --- /dev/null +++ b/testing/web-platform/meta/cookies/name/name.html.ini @@ -0,0 +1,234 @@ +[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: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Set a nameless cookie (that has multiple ='s in its value)] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Set a nameless cookie] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] + + [Set valueless cookie to its name with empty value] + expected: + if (os == "mac") and not debug: FAIL + if os == "android": FAIL + [FAIL, PASS] |