summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/cookies/size
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/cookies/size')
-rw-r--r--testing/web-platform/meta/cookies/size/attributes.www.sub.html.ini33
-rw-r--r--testing/web-platform/meta/cookies/size/name-and-value.html.ini35
2 files changed, 68 insertions, 0 deletions
diff --git a/testing/web-platform/meta/cookies/size/attributes.www.sub.html.ini b/testing/web-platform/meta/cookies/size/attributes.www.sub.html.ini
new file mode 100644
index 0000000000..021aa61798
--- /dev/null
+++ b/testing/web-platform/meta/cookies/size/attributes.www.sub.html.ini
@@ -0,0 +1,33 @@
+[attributes.www.sub.html]
+ [Too long path attribute (>1024 bytes) is ignored; previous valid path wins.]
+ expected: FAIL
+
+ [Too long domain attribute (>1024 bytes) is ignored; previous valid domain wins.]
+ expected: FAIL
+
+ [Too long path attribute (>1024 bytes) is ignored]
+ expected: FAIL
+
+ [Too long domain attribute (>1024 bytes) is ignored]
+ expected: FAIL
+
+ [Max length Max-Age attribute value (1024 bytes) doesn't cause cookie rejection]
+ expected: FAIL
+
+ [Too long Max-Age attribute value (>1024 bytes) doesn't cause cookie rejection]
+ expected: FAIL
+
+ [Max length negative Max-Age attribute value (1024 bytes) doesn't get ignored]
+ expected: FAIL
+
+ [Set cookie with max size name/value pair and multiple max size attributes (>8k bytes total)]
+ expected: FAIL
+
+ [Too long negative Max-Age attribute value (>1024 bytes) gets ignored]
+ expected: FAIL
+
+ [Set cookie with max size name/value pair and max size attribute value]
+ expected: FAIL
+
+ [Max size domain attribute (1024 bytes) is not ignored]
+ expected: FAIL
diff --git a/testing/web-platform/meta/cookies/size/name-and-value.html.ini b/testing/web-platform/meta/cookies/size/name-and-value.html.ini
new file mode 100644
index 0000000000..cced698738
--- /dev/null
+++ b/testing/web-platform/meta/cookies/size/name-and-value.html.ini
@@ -0,0 +1,35 @@
+[name-and-value.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [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
+
+ [Set max-size cookie with largest possible name and value (4096 bytes)]
+ expected: FAIL