summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/cookies/prefix
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/cookies/prefix
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.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/prefix')
-rw-r--r--testing/web-platform/meta/cookies/prefix/__host.document-cookie.html.ini9
-rw-r--r--testing/web-platform/meta/cookies/prefix/__host.document-cookie.https.html.ini15
-rw-r--r--testing/web-platform/meta/cookies/prefix/__host.header.html.ini14
-rw-r--r--testing/web-platform/meta/cookies/prefix/__host.header.https.html.ini23
-rw-r--r--testing/web-platform/meta/cookies/prefix/__secure.document-cookie.html.ini11
-rw-r--r--testing/web-platform/meta/cookies/prefix/__secure.document-cookie.https.html.ini11
-rw-r--r--testing/web-platform/meta/cookies/prefix/__secure.header.html.ini14
-rw-r--r--testing/web-platform/meta/cookies/prefix/__secure.header.https.html.ini15
-rw-r--r--testing/web-platform/meta/cookies/prefix/document-cookie.non-secure.html.ini20
9 files changed, 132 insertions, 0 deletions
diff --git a/testing/web-platform/meta/cookies/prefix/__host.document-cookie.html.ini b/testing/web-platform/meta/cookies/prefix/__host.document-cookie.html.ini
new file mode 100644
index 0000000000..6f8ab2d4cb
--- /dev/null
+++ b/testing/web-platform/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/testing/web-platform/meta/cookies/prefix/__host.document-cookie.https.html.ini b/testing/web-platform/meta/cookies/prefix/__host.document-cookie.https.html.ini
new file mode 100644
index 0000000000..cf3ab5fa14
--- /dev/null
+++ b/testing/web-platform/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/testing/web-platform/meta/cookies/prefix/__host.header.html.ini b/testing/web-platform/meta/cookies/prefix/__host.header.html.ini
new file mode 100644
index 0000000000..d6dbc27575
--- /dev/null
+++ b/testing/web-platform/meta/cookies/prefix/__host.header.html.ini
@@ -0,0 +1,14 @@
+[__host.header.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [__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/testing/web-platform/meta/cookies/prefix/__host.header.https.html.ini b/testing/web-platform/meta/cookies/prefix/__host.header.https.html.ini
new file mode 100644
index 0000000000..685b226853
--- /dev/null
+++ b/testing/web-platform/meta/cookies/prefix/__host.header.https.html.ini
@@ -0,0 +1,23 @@
+[__host.header.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [__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/testing/web-platform/meta/cookies/prefix/__secure.document-cookie.html.ini b/testing/web-platform/meta/cookies/prefix/__secure.document-cookie.html.ini
new file mode 100644
index 0000000000..45e9ad21b9
--- /dev/null
+++ b/testing/web-platform/meta/cookies/prefix/__secure.document-cookie.html.ini
@@ -0,0 +1,11 @@
+[__secure.document-cookie.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [__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/testing/web-platform/meta/cookies/prefix/__secure.document-cookie.https.html.ini b/testing/web-platform/meta/cookies/prefix/__secure.document-cookie.https.html.ini
new file mode 100644
index 0000000000..a6c32ec84c
--- /dev/null
+++ b/testing/web-platform/meta/cookies/prefix/__secure.document-cookie.https.html.ini
@@ -0,0 +1,11 @@
+[__secure.document-cookie.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [__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/testing/web-platform/meta/cookies/prefix/__secure.header.html.ini b/testing/web-platform/meta/cookies/prefix/__secure.header.html.ini
new file mode 100644
index 0000000000..cd08b714d9
--- /dev/null
+++ b/testing/web-platform/meta/cookies/prefix/__secure.header.html.ini
@@ -0,0 +1,14 @@
+[__secure.header.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [__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/testing/web-platform/meta/cookies/prefix/__secure.header.https.html.ini b/testing/web-platform/meta/cookies/prefix/__secure.header.https.html.ini
new file mode 100644
index 0000000000..e2955b8945
--- /dev/null
+++ b/testing/web-platform/meta/cookies/prefix/__secure.header.https.html.ini
@@ -0,0 +1,15 @@
+[__secure.header.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [__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:
+ if not early_beta_or_earlier: FAIL
diff --git a/testing/web-platform/meta/cookies/prefix/document-cookie.non-secure.html.ini b/testing/web-platform/meta/cookies/prefix/document-cookie.non-secure.html.ini
new file mode 100644
index 0000000000..e577a52b78
--- /dev/null
+++ b/testing/web-platform/meta/cookies/prefix/document-cookie.non-secure.html.ini
@@ -0,0 +1,20 @@
+[document-cookie.non-secure.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [__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