summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/cookies/prefix
diff options
context:
space:
mode:
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