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 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/meta/top-level-storage-access-api/tentative
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
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