diff options
Diffstat (limited to 'tests/wpt/meta/cookies')
25 files changed, 1108 insertions, 0 deletions
diff --git a/tests/wpt/meta/cookies/attributes/invalid.html.ini b/tests/wpt/meta/cookies/attributes/invalid.html.ini new file mode 100644 index 00000000000..8b147918cfb --- /dev/null +++ b/tests/wpt/meta/cookies/attributes/invalid.html.ini @@ -0,0 +1,13 @@ +[invalid.html] + [Ignore `Set-Cookie: =` with other `Set-Cookie` headers] + expected: FAIL + + [Ignore name- and value-less `Set-Cookie: `] + expected: FAIL + + [Ignore name- and value-less `Set-Cookie: ; bar`] + expected: FAIL + + [Ignore name- and value-less `Set-Cookie: \\t`] + expected: FAIL + diff --git a/tests/wpt/meta/cookies/attributes/max-age.html.ini b/tests/wpt/meta/cookies/attributes/max-age.html.ini new file mode 100644 index 00000000000..6726c070970 --- /dev/null +++ b/tests/wpt/meta/cookies/attributes/max-age.html.ini @@ -0,0 +1,4 @@ +[max-age.html] + [Set mulitiple cookies with valid max-age values] + expected: FAIL + diff --git a/tests/wpt/meta/cookies/http-state/mozilla-tests.html.ini b/tests/wpt/meta/cookies/http-state/mozilla-tests.html.ini new file mode 100644 index 00000000000..8000f114509 --- /dev/null +++ b/tests/wpt/meta/cookies/http-state/mozilla-tests.html.ini @@ -0,0 +1,16 @@ +[mozilla-tests.html] + [mozilla0016 - mozilla0016] + expected: FAIL + + [mozilla0015 - mozilla0015] + expected: FAIL + + [mozilla0017 - mozilla0017] + expected: FAIL + + [mozilla0014 - mozilla0014] + expected: FAIL + + [mozilla0012 - mozilla0012] + expected: FAIL + diff --git a/tests/wpt/meta/cookies/http-state/name-tests.html.ini b/tests/wpt/meta/cookies/http-state/name-tests.html.ini new file mode 100644 index 00000000000..d2458b32102 --- /dev/null +++ b/tests/wpt/meta/cookies/http-state/name-tests.html.ini @@ -0,0 +1,22 @@ +[name-tests.html] + [name0032 - name0032] + expected: FAIL + + [name0031 - name0031] + expected: FAIL + + [name0025 - name0025] + expected: FAIL + + [name0023 - name0023] + expected: FAIL + + [name0033 - name0033] + expected: FAIL + + [name0028 - name0028] + expected: FAIL + + [name0017 - name0017] + expected: FAIL + diff --git a/tests/wpt/meta/cookies/name/name-ctl.html.ini b/tests/wpt/meta/cookies/name/name-ctl.html.ini new file mode 100644 index 00000000000..b0f6753bf59 --- /dev/null +++ b/tests/wpt/meta/cookies/name/name-ctl.html.ini @@ -0,0 +1,371 @@ +[name-ctl.html] + expected: ERROR + [Cookie with %x0 in name is truncated.] + expected: FAIL + + [Cookie with %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x1 in name is rejected.] + expected: NOTRUN + + [Cookie with %x2 in name is rejected.] + expected: NOTRUN + + [Cookie with %x3 in name is rejected.] + expected: NOTRUN + + [Cookie with %x4 in name is rejected.] + expected: NOTRUN + + [Cookie with %x5 in name is rejected.] + expected: NOTRUN + + [Cookie with %x6 in name is rejected.] + expected: NOTRUN + + [Cookie with %x7 in name is rejected.] + expected: NOTRUN + + [Cookie with %x8 in name is rejected.] + expected: NOTRUN + + [Cookie with %x9 in name is rejected.] + expected: NOTRUN + + [Cookie with %xb in name is rejected.] + expected: NOTRUN + + [Cookie with %xc in name is rejected.] + expected: NOTRUN + + [Cookie with %xe in name is rejected.] + expected: NOTRUN + + [Cookie with %xf in name is rejected.] + expected: NOTRUN + + [Cookie with %x10 in name is rejected.] + expected: NOTRUN + + [Cookie with %x11 in name is rejected.] + expected: NOTRUN + + [Cookie with %x12 in name is rejected.] + expected: NOTRUN + + [Cookie with %x13 in name is rejected.] + expected: NOTRUN + + [Cookie with %x14 in name is rejected.] + expected: NOTRUN + + [Cookie with %x15 in name is rejected.] + expected: NOTRUN + + [Cookie with %x16 in name is rejected.] + expected: NOTRUN + + [Cookie with %x17 in name is rejected.] + expected: NOTRUN + + [Cookie with %x18 in name is rejected.] + expected: NOTRUN + + [Cookie with %x19 in name is rejected.] + expected: NOTRUN + + [Cookie with %x1a in name is rejected.] + expected: NOTRUN + + [Cookie with %x1b in name is rejected.] + expected: NOTRUN + + [Cookie with %x1c in name is rejected.] + expected: NOTRUN + + [Cookie with %x1d in name is rejected.] + expected: NOTRUN + + [Cookie with %x1e in name is rejected.] + expected: NOTRUN + + [Cookie with %x1f in name is rejected.] + expected: NOTRUN + + [Cookie with %x7f in name is rejected.] + expected: NOTRUN + + [Cookie with %x1 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x2 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x3 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x4 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x5 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x6 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x7 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x8 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x9 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %xb after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %xc after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %xe after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %xf after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x10 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x11 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x12 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x13 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x14 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x15 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x16 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x17 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x18 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x19 after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x1a after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x1b after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x1c after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x1d after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x1e after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x1f after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x7f after %x0 in name is truncated.] + expected: NOTRUN + + [Cookie with %x1 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x2 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x3 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x4 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x5 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x6 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x7 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x8 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x9 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %xb after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %xc after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %xe after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %xf after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x10 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x11 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x12 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x13 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x14 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x15 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x16 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x17 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x18 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x19 after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x1a after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x1b after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x1c after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x1d after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x1e after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x1f after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x7f after %xa in name is truncated.] + expected: NOTRUN + + [Cookie with %x1 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x2 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x3 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x4 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x5 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x6 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x7 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x8 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x9 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %xb after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %xc after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %xe after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %xf after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x10 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x11 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x12 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x13 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x14 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x15 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x16 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x17 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x18 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x19 after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x1a after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x1b after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x1c after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x1d after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x1e after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x1f after %xd in name is truncated.] + expected: NOTRUN + + [Cookie with %x7f after %xd in name is truncated.] + expected: NOTRUN + diff --git a/tests/wpt/meta/cookies/name/name.html.ini b/tests/wpt/meta/cookies/name/name.html.ini new file mode 100644 index 00000000000..211ee6bc1ca --- /dev/null +++ b/tests/wpt/meta/cookies/name/name.html.ini @@ -0,0 +1,99 @@ +[name.html] + [Set a nameless cookie (that has an = in its value)] + expected: FAIL + + [Set a nameless cookie ignoring characters after first ;] + expected: FAIL + + [Ignore invalid attributes after nameless cookie] + expected: FAIL + + [Set a nameless cookie] + expected: FAIL + + [Set a nameless cookie ignoring characters after first ; (2)] + expected: FAIL + + [Set a nameless cookie (that has multiple ='s in its value)] + expected: FAIL + + [Return the most recent nameless cookie] + expected: FAIL + + [Name is set as expected for "a=test] + expected: FAIL + + [Name is set as expected for 1=test] + expected: FAIL + + [Return the most recent nameless cookie, without leading =] + expected: FAIL + + [Ignore cookie with no name or value] + expected: FAIL + + [Return the most recent nameless cookie, even if preceded by =] + expected: FAIL + + [Ignore cookie with empty name and empty value] + expected: FAIL + + [Name is set as expected for $a=test] + expected: FAIL + + [Name is set as expected for (a=test] + expected: FAIL + + [Name is set as expected for @a=test] + expected: FAIL + + [Name is set as expected for *a=test] + expected: FAIL + + [Name is set as expected for -a=test] + expected: FAIL + + [Name is set as expected for _a=test] + expected: FAIL + + [Name is set as expected for &a=test] + expected: FAIL + + [Name is set as expected for a=test] + expected: FAIL + + [Name is set as expected for #a=test] + expected: FAIL + + [Return the most recent nameless cookie, even if preceded by =, in addition to other valid cookie] + expected: FAIL + + [Name is set as expected for ^a=test] + expected: FAIL + + [Name is set as expected for !a=test] + expected: FAIL + + [Overwrite nameless cookie] + expected: FAIL + + [Name is set as expected for %a=test] + expected: FAIL + + [Name is set as expected for +=test] + expected: FAIL + + [Name is set as expected for "a=b"=test] + expected: FAIL + + [Set nameless cookie, given `Set-Cookie: =test16`] + expected: FAIL + + [Name is set as expected for )a=test] + expected: FAIL + + [Name is set as expected for $=test] + expected: FAIL + + [URL-encoded cookie name is not decoded] + expected: FAIL diff --git a/tests/wpt/meta/cookies/partitioned-cookies/partitioned-cookies.tentative.https.html.ini b/tests/wpt/meta/cookies/partitioned-cookies/partitioned-cookies.tentative.https.html.ini new file mode 100644 index 00000000000..e5fb2ece007 --- /dev/null +++ b/tests/wpt/meta/cookies/partitioned-cookies/partitioned-cookies.tentative.https.html.ini @@ -0,0 +1,2 @@ +[partitioned-cookies.tentative.https.html] + expected: ERROR diff --git a/tests/wpt/meta/cookies/prefix/__host.document-cookie.html.ini b/tests/wpt/meta/cookies/prefix/__host.document-cookie.html.ini new file mode 100644 index 00000000000..6f8ab2d4cb0 --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/__host.document-cookie.html.ini @@ -0,0 +1,9 @@ +[__host.document-cookie.html] + [__HoSt: Non-secure origin: 'Path=/;'] + expected: FAIL + + [__HoSt: Non-secure origin: 'Path=/;domain=web-platform.test'] + expected: FAIL + + [__HoSt: Non-secure origin: 'Path=/;MaxAge=10'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/prefix/__host.document-cookie.https.html.ini b/tests/wpt/meta/cookies/prefix/__host.document-cookie.https.html.ini new file mode 100644 index 00000000000..cf3ab5fa14e --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/__host.document-cookie.https.html.ini @@ -0,0 +1,15 @@ +[__host.document-cookie.https.html] + [__HoSt: Secure origin: Does not set 'Path=/;'] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Secure; Path=/; Domain=web-platform.test; '] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Path=/;MaxAge=10'] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Secure; Path=/; Domain=web-platform.test; MaxAge=10'] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Secure; Path=/cookies/resources/list.py'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/prefix/__host.header.html.ini b/tests/wpt/meta/cookies/prefix/__host.header.html.ini new file mode 100644 index 00000000000..2444b65c243 --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/__host.header.html.ini @@ -0,0 +1,12 @@ +[__host.header.html] + [__HoSt: Non-secure origin: Does not set 'Path=/;'] + expected: FAIL + + [__HoSt: Non-secure origin: Does not set 'Path=/;domain=web-platform.test'] + expected: FAIL + + [__HoSt: Non-secure origin: Does not set 'Path=/;MaxAge=10'] + expected: FAIL + + [__HoSt: Non-secure origin: Does not set 'Path=/;HttpOnly'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/prefix/__host.header.https.html.ini b/tests/wpt/meta/cookies/prefix/__host.header.https.html.ini new file mode 100644 index 00000000000..33d9e1ada62 --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/__host.header.https.html.ini @@ -0,0 +1,21 @@ +[__host.header.https.html] + [__HoSt: Secure origin: Does not set 'Path=/;'] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Secure; Path=/; Domain=web-platform.test; '] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Path=/;MaxAge=10'] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Secure; Path=/; Domain=web-platform.test; MaxAge=10'] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Path=/;HttpOnly'] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Secure; Path=/; Domain=web-platform.test; HttpOnly'] + expected: FAIL + + [__HoSt: Secure origin: Does not set 'Secure; Path=/cookies/resources/list.py'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/prefix/__secure.document-cookie.html.ini b/tests/wpt/meta/cookies/prefix/__secure.document-cookie.html.ini new file mode 100644 index 00000000000..265fc3f0301 --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/__secure.document-cookie.html.ini @@ -0,0 +1,9 @@ +[__secure.document-cookie.html] + [__SeCuRe: Non-secure origin: Should not set 'Path=/;'] + expected: FAIL + + [__SeCuRe: Non-secure origin: Should not set 'Path=/;MaxAge=10'] + expected: FAIL + + [__SeCuRe: Non-secure origin: Should not set 'Path=/;domain=web-platform.test'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/prefix/__secure.document-cookie.https.html.ini b/tests/wpt/meta/cookies/prefix/__secure.document-cookie.https.html.ini new file mode 100644 index 00000000000..5e070e58ba2 --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/__secure.document-cookie.https.html.ini @@ -0,0 +1,9 @@ +[__secure.document-cookie.https.html] + [__SeCuRe: Secure origin: Should not set 'Path=/;'] + expected: FAIL + + [__SeCuRe: Secure origin: Should not set 'Path=/;MaxAge=10'] + expected: FAIL + + [__SeCuRe: Secure origin: Should not set 'Path=/;domain=web-platform.test'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/prefix/__secure.header.html.ini b/tests/wpt/meta/cookies/prefix/__secure.header.html.ini new file mode 100644 index 00000000000..142f4756a83 --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/__secure.header.html.ini @@ -0,0 +1,12 @@ +[__secure.header.html] + [__SeCuRe: Non-secure origin: Should not set 'Path=/;'] + expected: FAIL + + [__SeCuRe: Non-secure origin: Should not set 'Path=/;domain=web-platform.test'] + expected: FAIL + + [__SeCuRe: Non-secure origin: Should not set 'Path=/;MaxAge=10'] + expected: FAIL + + [__SeCuRe: Non-secure origin: Should not set 'Path=/;HttpOnly'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/prefix/__secure.header.https.html.ini b/tests/wpt/meta/cookies/prefix/__secure.header.https.html.ini new file mode 100644 index 00000000000..10db3a84195 --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/__secure.header.https.html.ini @@ -0,0 +1,12 @@ +[__secure.header.https.html] + [__SeCuRe: secure origin: Should not set 'Path=/;'] + expected: FAIL + + [__SeCuRe: secure origin: Should not set 'Path=/;MaxAge=10'] + expected: FAIL + + [__SeCuRe: secure origin: Should not set 'Path=/;HttpOnly'] + expected: FAIL + + [__SeCuRe: secure origin: Should not set 'Path=/;domain=not-web-platform.test'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/prefix/document-cookie.non-secure.html.ini b/tests/wpt/meta/cookies/prefix/document-cookie.non-secure.html.ini new file mode 100644 index 00000000000..fcbb39e1912 --- /dev/null +++ b/tests/wpt/meta/cookies/prefix/document-cookie.non-secure.html.ini @@ -0,0 +1,18 @@ +[document-cookie.non-secure.html] + [__SeCuRe: Non-secure origin: 'Path=/;'] + expected: FAIL + + [__SeCuRe: Non-secure origin: 'Path=/;domain=web-platform.test'] + expected: FAIL + + [__SeCuRe: Non-secure origin: 'Path=/;MaxAge=10'] + expected: FAIL + + [__HoSt: Non-secure origin: 'Path=/; '] + expected: FAIL + + [__HoSt: Non-secure origin: 'Path=/; domain=web-platform.test'] + expected: FAIL + + [__HoSt: Non-secure origin: 'Path=/; MaxAge=10'] + expected: FAIL diff --git a/tests/wpt/meta/cookies/samesite-none-secure/cookies-without-samesite-must-be-secure.https.html.ini b/tests/wpt/meta/cookies/samesite-none-secure/cookies-without-samesite-must-be-secure.https.html.ini new file mode 100644 index 00000000000..2942e08536a --- /dev/null +++ b/tests/wpt/meta/cookies/samesite-none-secure/cookies-without-samesite-must-be-secure.https.html.ini @@ -0,0 +1,3 @@ +[cookies-without-samesite-must-be-secure.https.html] + [SameSite=None cookies are rejected unless the Secure attribute is set.] + expected: FAIL diff --git a/tests/wpt/meta/cookies/schemeful-same-site/schemeful-iframe-subresource.tentative.html.ini b/tests/wpt/meta/cookies/schemeful-same-site/schemeful-iframe-subresource.tentative.html.ini new file mode 100644 index 00000000000..f633e1a05cf --- /dev/null +++ b/tests/wpt/meta/cookies/schemeful-same-site/schemeful-iframe-subresource.tentative.html.ini @@ -0,0 +1,4 @@ +[schemeful-iframe-subresource.tentative.html] + [SameSite cookies with intervening cross-scheme iframe and subresources] + expected: FAIL + diff --git a/tests/wpt/meta/cookies/schemeful-same-site/schemeful-navigation.tentative.html.ini b/tests/wpt/meta/cookies/schemeful-same-site/schemeful-navigation.tentative.html.ini new file mode 100644 index 00000000000..f2b0051bd90 --- /dev/null +++ b/tests/wpt/meta/cookies/schemeful-same-site/schemeful-navigation.tentative.html.ini @@ -0,0 +1,8 @@ +[schemeful-navigation.tentative.html] + expected: TIMEOUT + [Navigate cross-scheme] + expected: NOTRUN + + [Navigate same-scheme] + expected: TIMEOUT + diff --git a/tests/wpt/meta/cookies/schemeful-same-site/schemeful-subresource.tentative.html.ini b/tests/wpt/meta/cookies/schemeful-same-site/schemeful-subresource.tentative.html.ini new file mode 100644 index 00000000000..84db651b6ad --- /dev/null +++ b/tests/wpt/meta/cookies/schemeful-same-site/schemeful-subresource.tentative.html.ini @@ -0,0 +1,8 @@ +[schemeful-subresource.tentative.html] + expected: TIMEOUT + [Cross-scheme subresources cannot sent lax/strict cookies] + expected: NOTRUN + + [Same-scheme subresources can send lax/strict cookies] + expected: TIMEOUT + diff --git a/tests/wpt/meta/cookies/schemeful-same-site/schemeful-websockets.sub.tentative.html.ini b/tests/wpt/meta/cookies/schemeful-same-site/schemeful-websockets.sub.tentative.html.ini new file mode 100644 index 00000000000..eb79022906f --- /dev/null +++ b/tests/wpt/meta/cookies/schemeful-same-site/schemeful-websockets.sub.tentative.html.ini @@ -0,0 +1,4 @@ +[schemeful-websockets.sub.tentative.html] + [Cross-scheme WebSockets are cross-site] + expected: FAIL + diff --git a/tests/wpt/meta/cookies/size/attributes.www.sub.html.ini b/tests/wpt/meta/cookies/size/attributes.www.sub.html.ini new file mode 100644 index 00000000000..498271e7243 --- /dev/null +++ b/tests/wpt/meta/cookies/size/attributes.www.sub.html.ini @@ -0,0 +1,15 @@ +[attributes.www.sub.html] + [Too long path attribute (>1024 bytes) is ignored; previous valid path wins.] + expected: FAIL + + [Too long path attribute (>1024 bytes) is ignored] + expected: FAIL + + [Too long domain attribute (>1024 bytes) is ignored; previous valid domain wins.] + expected: FAIL + + [Too long domain attribute (>1024 bytes) is ignored] + expected: FAIL + + [Max length negative Max-Age attribute value (1024 bytes) doesn't get ignored] + expected: FAIL diff --git a/tests/wpt/meta/cookies/size/name-and-value.html.ini b/tests/wpt/meta/cookies/size/name-and-value.html.ini new file mode 100644 index 00000000000..1cdc55ce261 --- /dev/null +++ b/tests/wpt/meta/cookies/size/name-and-value.html.ini @@ -0,0 +1,30 @@ +[name-and-value.html] + [Ignore cookie with name larger than 4096 and 1 byte value] + expected: FAIL + + [Set max-size value-less cookie] + expected: FAIL + + [Ignore value-less cookie with name larger than 4096 bytes] + expected: FAIL + + [Set max-size cookie with largest possible value (4095 bytes)] + expected: FAIL + + [Ignore named cookie (with non-zero length) and value larger than 4095 bytes] + expected: FAIL + + [Ignore named cookie with length larger than 4095 bytes, and a non-zero value] + expected: FAIL + + [Set max-size name-less cookie] + expected: FAIL + + [Ignore name-less cookie with value larger than 4096 bytes] + expected: FAIL + + [Ignore name-less cookie (without leading =) with value larger than 4096 bytes] + expected: FAIL + + [Set max-size cookie that also has an attribute] + expected: FAIL diff --git a/tests/wpt/meta/cookies/value/value-ctl.html.ini b/tests/wpt/meta/cookies/value/value-ctl.html.ini new file mode 100644 index 00000000000..ffb4f2a0949 --- /dev/null +++ b/tests/wpt/meta/cookies/value/value-ctl.html.ini @@ -0,0 +1,371 @@ +[value-ctl.html] + expected: ERROR + [Cookie with %x0 in value is truncated.] + expected: FAIL + + [Cookie with %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x1 in value is rejected.] + expected: NOTRUN + + [Cookie with %x2 in value is rejected.] + expected: NOTRUN + + [Cookie with %x3 in value is rejected.] + expected: NOTRUN + + [Cookie with %x4 in value is rejected.] + expected: NOTRUN + + [Cookie with %x5 in value is rejected.] + expected: NOTRUN + + [Cookie with %x6 in value is rejected.] + expected: NOTRUN + + [Cookie with %x7 in value is rejected.] + expected: NOTRUN + + [Cookie with %x8 in value is rejected.] + expected: NOTRUN + + [Cookie with %x9 in value is rejected.] + expected: NOTRUN + + [Cookie with %xb in value is rejected.] + expected: NOTRUN + + [Cookie with %xc in value is rejected.] + expected: NOTRUN + + [Cookie with %xe in value is rejected.] + expected: NOTRUN + + [Cookie with %xf in value is rejected.] + expected: NOTRUN + + [Cookie with %x10 in value is rejected.] + expected: NOTRUN + + [Cookie with %x11 in value is rejected.] + expected: NOTRUN + + [Cookie with %x12 in value is rejected.] + expected: NOTRUN + + [Cookie with %x13 in value is rejected.] + expected: NOTRUN + + [Cookie with %x14 in value is rejected.] + expected: NOTRUN + + [Cookie with %x15 in value is rejected.] + expected: NOTRUN + + [Cookie with %x16 in value is rejected.] + expected: NOTRUN + + [Cookie with %x17 in value is rejected.] + expected: NOTRUN + + [Cookie with %x18 in value is rejected.] + expected: NOTRUN + + [Cookie with %x19 in value is rejected.] + expected: NOTRUN + + [Cookie with %x1a in value is rejected.] + expected: NOTRUN + + [Cookie with %x1b in value is rejected.] + expected: NOTRUN + + [Cookie with %x1c in value is rejected.] + expected: NOTRUN + + [Cookie with %x1d in value is rejected.] + expected: NOTRUN + + [Cookie with %x1e in value is rejected.] + expected: NOTRUN + + [Cookie with %x1f in value is rejected.] + expected: NOTRUN + + [Cookie with %x7f in value is rejected.] + expected: NOTRUN + + [Cookie with %x1 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x2 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x3 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x4 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x5 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x6 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x7 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x8 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x9 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %xb after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %xc after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %xe after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %xf after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x10 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x11 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x12 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x13 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x14 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x15 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x16 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x17 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x18 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x19 after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x1a after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x1b after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x1c after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x1d after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x1e after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x1f after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x7f after %x0 in value is truncated.] + expected: NOTRUN + + [Cookie with %x1 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x2 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x3 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x4 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x5 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x6 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x7 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x8 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x9 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %xb after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %xc after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %xe after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %xf after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x10 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x11 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x12 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x13 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x14 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x15 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x16 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x17 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x18 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x19 after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x1a after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x1b after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x1c after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x1d after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x1e after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x1f after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x7f after %xa in value is truncated.] + expected: NOTRUN + + [Cookie with %x1 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x2 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x3 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x4 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x5 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x6 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x7 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x8 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x9 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %xb after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %xc after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %xe after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %xf after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x10 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x11 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x12 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x13 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x14 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x15 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x16 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x17 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x18 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x19 after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x1a after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x1b after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x1c after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x1d after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x1e after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x1f after %xd in value is truncated.] + expected: NOTRUN + + [Cookie with %x7f after %xd in value is truncated.] + expected: NOTRUN + diff --git a/tests/wpt/meta/cookies/value/value.html.ini b/tests/wpt/meta/cookies/value/value.html.ini new file mode 100644 index 00000000000..f836af88ad4 --- /dev/null +++ b/tests/wpt/meta/cookies/value/value.html.ini @@ -0,0 +1,21 @@ +[value.html] + [Set nameless cookie to its value] + expected: FAIL + + [Set cookie but ignore value after LF] + expected: FAIL + + [Set nameless cookie followed by '=' to its value] + expected: FAIL + + [Ignore cookie with large value ( > 4kb)] + expected: FAIL + + [Set nameless cookie to its value with an escaped quote] + expected: FAIL + + [Ignore cookie with large name + value ( > 4kb)] + expected: FAIL + + [Set a nameless cookie with a space character in the value] + expected: FAIL |