diff options
Diffstat (limited to 'testing/web-platform/meta/storage-access-api')
26 files changed, 103 insertions, 0 deletions
diff --git a/testing/web-platform/meta/storage-access-api/__dir__.ini b/testing/web-platform/meta/storage-access-api/__dir__.ini new file mode 100644 index 0000000000..96bfb47246 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/__dir__.ini @@ -0,0 +1,3 @@ +prefs: + if os == "android": [marionette.setpermission.enabled:true, dom.storage_access.auto_grants:false, dom.storage_access.prompt.testing:true, dom.storage_access.prompt.testing.allow:false, network.cookie.cookieBehavior:5] + [marionette.setpermission.enabled:true, dom.storage_access.auto_grants:false, dom.storage_access.prompt.testing:true, dom.storage_access.prompt.testing.allow:false] diff --git a/testing/web-platform/meta/storage-access-api/hasStorageAccess-ABA.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/hasStorageAccess-ABA.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..c182ff57d9 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/hasStorageAccess-ABA.tentative.sub.https.window.js.ini @@ -0,0 +1,6 @@ +[hasStorageAccess-ABA.tentative.sub.https.window.html] + expected: [OK, TIMEOUT] + + [[ABA\] document.hasStorageAccess() should not be allowed by default unless in top-level frame or same-origin iframe.] + expected: FAIL + diff --git a/testing/web-platform/meta/storage-access-api/hasStorageAccess-insecure.sub.window.js.ini b/testing/web-platform/meta/storage-access-api/hasStorageAccess-insecure.sub.window.js.ini new file mode 100644 index 0000000000..7104c96aa9 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/hasStorageAccess-insecure.sub.window.js.ini @@ -0,0 +1,2 @@ +[hasStorageAccess-insecure.sub.window.html] + expected: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/hasStorageAccess.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/hasStorageAccess.sub.https.window.js.ini new file mode 100644 index 0000000000..aada8d8aa5 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/hasStorageAccess.sub.https.window.js.ini @@ -0,0 +1,2 @@ +[hasStorageAccess.sub.https.window.html] + expected: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..1eec5406bf --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[requestStorageAccess-ABA.tentative.sub.https.window.html] + expected: + if (os == "android"): [OK, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-cross-site-iframe.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-cross-site-iframe.sub.https.window.js.ini new file mode 100644 index 0000000000..a68c37c722 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-cross-site-iframe.sub.https.window.js.ini @@ -0,0 +1,2 @@ +[requestStorageAccess-cross-site-iframe.sub.https.window.html] + expected: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-cross-site-sibling-iframes.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-cross-site-sibling-iframes.sub.https.window.js.ini new file mode 100644 index 0000000000..9c62490213 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-cross-site-sibling-iframes.sub.https.window.js.ini @@ -0,0 +1,4 @@ +[requestStorageAccess-cross-site-sibling-iframes.sub.https.window.html] + [Cross-site sibling iframes should not be able to take advantage of the existing permission grant requested by others.] + expected: FAIL + diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..75f9fba5fc --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-dedicated-worker.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[requestStorageAccess-dedicated-worker.tentative.sub.https.window.html] + [Workers don't observe parent's storage access] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-insecure.sub.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-insecure.sub.window.js.ini new file mode 100644 index 0000000000..32d9c56eb2 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-insecure.sub.window.js.ini @@ -0,0 +1,11 @@ +[requestStorageAccess-insecure.sub.window.html] + expected: + if (os == "linux") and debug and fission and swgl: [TIMEOUT, OK] + if (os == "linux") and debug and not fission and not swgl: [TIMEOUT, OK] + if (os == "win") and swgl: [TIMEOUT, OK] + [OK, TIMEOUT] + [[top-level-context\] document.requestStorageAccess() should be rejected when called with a user gesture in insecure context] + expected: + if (os == "win") and debug: PASS + if os == "android": PASS + [PASS, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-cross-origin-iframe.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-cross-origin-iframe.sub.https.window.js.ini new file mode 100644 index 0000000000..04d21e1f25 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-cross-origin-iframe.sub.https.window.js.ini @@ -0,0 +1,5 @@ +[requestStorageAccess-nested-cross-origin-iframe.sub.https.window.html] + expected: + if (os == "win") and debug and swgl: [TIMEOUT, OK] + if (os == "win") and not debug: [TIMEOUT, OK] + [OK, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-cross-site-iframe.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-cross-site-iframe.sub.https.window.js.ini new file mode 100644 index 0000000000..57acba6e50 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-cross-site-iframe.sub.https.window.js.ini @@ -0,0 +1,2 @@ +[requestStorageAccess-nested-cross-site-iframe.sub.https.window.html] + expected: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-same-origin-iframe.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-same-origin-iframe.sub.https.window.js.ini new file mode 100644 index 0000000000..c6a862b6b0 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-nested-same-origin-iframe.sub.https.window.js.ini @@ -0,0 +1,5 @@ +[requestStorageAccess-nested-same-origin-iframe.sub.https.window.html] + expected: + if (os == "win") and (processor == "x86") and debug: [TIMEOUT, OK] + if (os == "android") and not swgl and debug: [TIMEOUT, OK] + [OK, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/requestStorageAccess-same-site-iframe.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/requestStorageAccess-same-site-iframe.sub.https.window.js.ini new file mode 100644 index 0000000000..125172485d --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/requestStorageAccess-same-site-iframe.sub.https.window.js.ini @@ -0,0 +1,5 @@ +[requestStorageAccess-same-site-iframe.sub.https.window.html] + expected: + if (os == "win") and (processor == "x86_64") and debug and swgl: [TIMEOUT, OK] + if (os == "win") and (processor == "x86_64") and not debug: [TIMEOUT, OK] + [OK, TIMEOUT] diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.BroadcastChannel.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.BroadcastChannel.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..2d67b717ff --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.BroadcastChannel.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.BroadcastChannel.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for Broadcast Channel] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.blobStorage.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.blobStorage.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..c916754e19 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.blobStorage.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.blobStorage.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for Blob Storage] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.caches.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.caches.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..b3b24c327f --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.caches.tentative.sub.https.window.js.ini @@ -0,0 +1,7 @@ +[storage-access-beyond-cookies.caches.tentative.sub.https.window.html] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT] + [Verify StorageAccessAPIBeyondCookies for Cache Storage] + expected: + if (os == "win") and not debug and (processor == "x86_64"): [FAIL, TIMEOUT] + FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.cookies.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.cookies.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..2e18c259f9 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.cookies.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.cookies.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for Cookies] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.estimate.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.estimate.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..4792fc4205 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.estimate.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.estimate.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for Quota] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.getDirectory.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.getDirectory.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..265b6c3a11 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.getDirectory.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.getDirectory.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for Origin Private File System] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.indexedDB.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.indexedDB.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..ad3078442f --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.indexedDB.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.indexedDB.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for IndexedDB] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.localStorage.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.localStorage.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..eb1b44ed82 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.localStorage.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.localStorage.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for Local Storage] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.locks.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.locks.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..cef638c8b7 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.locks.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.locks.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for Web Locks] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.none.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.none.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..7f7e8e612e --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.none.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.none.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for None] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.sessionStorage.tentative.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.sessionStorage.tentative.sub.https.window.js.ini new file mode 100644 index 0000000000..28f4e19b9b --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-beyond-cookies.sessionStorage.tentative.sub.https.window.js.ini @@ -0,0 +1,3 @@ +[storage-access-beyond-cookies.sessionStorage.tentative.sub.https.window.html] + [Verify StorageAccessAPIBeyondCookies for Session Storage] + expected: FAIL diff --git a/testing/web-platform/meta/storage-access-api/storage-access-permission.sub.https.window.js.ini b/testing/web-platform/meta/storage-access-api/storage-access-permission.sub.https.window.js.ini new file mode 100644 index 0000000000..f68a296565 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storage-access-permission.sub.https.window.js.ini @@ -0,0 +1,10 @@ +[storage-access-permission.sub.https.window.html] + expected: [OK, TIMEOUT] + [Permissions grants are observable across same-origin iframes] + expected: [TIMEOUT, FAIL, PASS] + + [Permissions grants are observable across same-site iframes] + expected: [NOTRUN, PASS, FAIL] + + [IFrame tests] + expected: [NOTRUN, PASS] diff --git a/testing/web-platform/meta/storage-access-api/storageAccess.testdriver.sub.html.ini b/testing/web-platform/meta/storage-access-api/storageAccess.testdriver.sub.html.ini new file mode 100644 index 0000000000..d68424fba6 --- /dev/null +++ b/testing/web-platform/meta/storage-access-api/storageAccess.testdriver.sub.html.ini @@ -0,0 +1,3 @@ +[storageAccess.testdriver.sub.html] + [TestDriver - Set Storage Access Command Tests] + expected: FAIL |