diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/top-level-storage-access-api | |
parent | Initial commit. (diff) | |
download | firefox-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/top-level-storage-access-api')
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 |