summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/top-level-storage-access-api/tentative
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/top-level-storage-access-api/tentative
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/top-level-storage-access-api/tentative')
-rw-r--r--testing/web-platform/meta/top-level-storage-access-api/tentative/requestStorageAccessFor-insecure.sub.window.js.ini23
-rw-r--r--testing/web-platform/meta/top-level-storage-access-api/tentative/requestStorageAccessFor.sub.https.window.js.ini45
-rw-r--r--testing/web-platform/meta/top-level-storage-access-api/tentative/top-level-storage-access-permission.sub.https.window.js.ini3
3 files changed, 71 insertions, 0 deletions
diff --git a/testing/web-platform/meta/top-level-storage-access-api/tentative/requestStorageAccessFor-insecure.sub.window.js.ini b/testing/web-platform/meta/top-level-storage-access-api/tentative/requestStorageAccessFor-insecure.sub.window.js.ini
new file mode 100644
index 0000000000..6acaaddef0
--- /dev/null
+++ b/testing/web-platform/meta/top-level-storage-access-api/tentative/requestStorageAccessFor-insecure.sub.window.js.ini
@@ -0,0 +1,23 @@
+[requestStorageAccessFor-insecure.sub.window.html]
+ [[non-fully-active\] document.requestStorageAccessFor() should not resolve when run in a detached frame]
+ expected: FAIL
+
+ [[non-fully-active\] document.requestStorageAccessFor() should not resolve when run in a detached DOMParser document]
+ expected: FAIL
+
+ [[frame-on-insecure-page\] document.requestStorageAccessFor() should be rejected when called in an iframe]
+ expected: FAIL
+
+ [[frame-on-insecure-page\] document.requestStorageAccessFor() should be supported on the document interface in embedded iframes]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be supported on the document interface]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be rejected by default with no user gesture]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be rejected when called in an insecure context]
+ expected:
+ if (os == "linux") and fission and not swgl: FAIL
+ [FAIL, NOTRUN]
diff --git a/testing/web-platform/meta/top-level-storage-access-api/tentative/requestStorageAccessFor.sub.https.window.js.ini b/testing/web-platform/meta/top-level-storage-access-api/tentative/requestStorageAccessFor.sub.https.window.js.ini
new file mode 100644
index 0000000000..aecad7876f
--- /dev/null
+++ b/testing/web-platform/meta/top-level-storage-access-api/tentative/requestStorageAccessFor.sub.https.window.js.ini
@@ -0,0 +1,45 @@
+[requestStorageAccessFor.sub.https.window.html]
+ [[top-level-context\] document.requestStorageAccessFor() should be supported on the document interface]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be rejected when called with no argument]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be rejected by default with no user gesture]
+ expected: FAIL
+
+ [[non-fully-active\] document.requestStorageAccessFor() should not resolve when run in a detached frame]
+ expected: FAIL
+
+ [[non-fully-active\] document.requestStorageAccessFor() should not resolve when run in a detached DOMParser document]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be resolved without a user gesture with an existing permission]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccess() should be resolved without a user gesture after a successful requestStorageAccessFor() call]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be rejected when called with an opaque origin]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be resolved when called properly with a user gesture and the same origin]
+ expected: FAIL
+
+ [[top-level-context\] document.requestStorageAccessFor() should be rejected when called with an invalid origin]
+ expected: FAIL
+
+ [[top-level-context\] Top-level storage access only allows cross-site subresource requests to access cookie when using CORS mode.]
+ expected: FAIL
+
+ [[same-origin-iframe\] document.requestStorageAccessFor() should be supported on the document interface]
+ expected: FAIL
+
+ [[same-origin-iframe\] document.requestStorageAccessFor() should be rejected when called with no argument]
+ expected: FAIL
+
+ [[same-origin-iframe\] document.requestStorageAccessFor() should be rejected when called in an iframe]
+ expected: FAIL
+
+ [[same-origin-iframe\] Existing top-level storage access permission should not allow cookie access for the cross-site subresource requests made in a non-top-level context.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/top-level-storage-access-api/tentative/top-level-storage-access-permission.sub.https.window.js.ini b/testing/web-platform/meta/top-level-storage-access-api/tentative/top-level-storage-access-permission.sub.https.window.js.ini
new file mode 100644
index 0000000000..7053d56ae2
--- /dev/null
+++ b/testing/web-platform/meta/top-level-storage-access-api/tentative/top-level-storage-access-permission.sub.https.window.js.ini
@@ -0,0 +1,3 @@
+[top-level-storage-access-permission.sub.https.window.html]
+ [Permission default state can be queried]
+ expected: FAIL