diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/service-workers/cache-storage | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/service-workers/cache-storage')
18 files changed, 340 insertions, 0 deletions
diff --git a/testing/web-platform/meta/service-workers/cache-storage/__dir__.ini b/testing/web-platform/meta/service-workers/cache-storage/__dir__.ini new file mode 100644 index 0000000000..82abf170d7 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/__dir__.ini @@ -0,0 +1 @@ +lsan-allowed: [maybe_pod_malloc] diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-abort.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-abort.https.any.js.ini new file mode 100644 index 0000000000..c101ecddfe --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-abort.https.any.js.ini @@ -0,0 +1,74 @@ +[cache-abort.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [put() followed by abort after headers received should reject with AbortError] + expected: FAIL + + [add() synchronously followed by abort should reject with AbortError] + expected: FAIL + + [add() followed by abort after headers received should reject with AbortError] + expected: FAIL + + [addAll() synchronously followed by abort should reject with AbortError] + expected: FAIL + + [addAll() followed by abort after headers received should reject with AbortError] + expected: FAIL + + +[cache-abort.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [put() followed by abort after headers received should reject with AbortError] + expected: FAIL + + [add() synchronously followed by abort should reject with AbortError] + expected: FAIL + + [add() followed by abort after headers received should reject with AbortError] + expected: FAIL + + [addAll() synchronously followed by abort should reject with AbortError] + expected: FAIL + + [addAll() followed by abort after headers received should reject with AbortError] + expected: FAIL + + +[cache-abort.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [put() followed by abort after headers received should reject with AbortError] + expected: FAIL + + [add() synchronously followed by abort should reject with AbortError] + expected: FAIL + + [add() followed by abort after headers received should reject with AbortError] + expected: FAIL + + [addAll() synchronously followed by abort should reject with AbortError] + expected: FAIL + + [addAll() followed by abort after headers received should reject with AbortError] + expected: FAIL + + +[cache-abort.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [put() followed by abort after headers received should reject with AbortError] + expected: FAIL + + [add() synchronously followed by abort should reject with AbortError] + expected: FAIL + + [add() followed by abort after headers received should reject with AbortError] + expected: FAIL + + [addAll() synchronously followed by abort should reject with AbortError] + expected: FAIL + + [addAll() followed by abort after headers received should reject with AbortError] + expected: FAIL diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-add.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-add.https.any.js.ini new file mode 100644 index 0000000000..94f664b172 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-add.https.any.js.ini @@ -0,0 +1,49 @@ +[cache-add.https.any.html] + [Cache.addAll called with the same Request object specified twice] + expected: FAIL + + [Cache.addAll should succeed when entries differ by vary header] + expected: + if fission and not swgl and (processor == "x86_64") and (os == "linux") and debug: [PASS, FAIL] + if fission and not swgl and (processor == "x86_64") and (os == "mac") and not debug: [PASS, FAIL] + if not fission and (os == "linux") and not swgl and not debug: [PASS, FAIL] + if fission and not swgl and (processor == "x86_64") and (os == "win"): [PASS, FAIL] + if fission and swgl and (os == "win"): [PASS, FAIL] + [FAIL, PASS] + + +[cache-add.https.any.sharedworker.html] + [Cache.addAll called with the same Request object specified twice] + expected: FAIL + + [Cache.addAll should succeed when entries differ by vary header] + expected: + if (os == "linux") and (processor == "x86_64") and swgl and not fission: [PASS, FAIL] + if (os == "android") and debug and not swgl: [PASS, FAIL] + [FAIL, PASS] + + +[cache-add.https.any.serviceworker.html] + [Cache.addAll called with the same Request object specified twice] + expected: FAIL + + [Cache.addAll should succeed when entries differ by vary header] + expected: + if (os == "linux") and not swgl and not fission and debug: [PASS, FAIL] + if (os == "linux") and not swgl and not fission and not debug: [PASS, FAIL] + if (os == "linux") and swgl and fission: [PASS, FAIL] + if (os == "android") and debug and swgl: [PASS, FAIL] + [FAIL, PASS] + + +[cache-add.https.any.worker.html] + [Cache.addAll called with the same Request object specified twice] + expected: FAIL + + [Cache.addAll should succeed when entries differ by vary header] + expected: + if (os == "win") and (processor == "x86") and debug: [PASS, FAIL] + if (os == "win") and (processor == "x86") and not debug: [PASS, FAIL] + if (os == "android") and not debug: [PASS, FAIL] + if (os == "mac") and debug: [PASS, FAIL] + [FAIL, PASS] diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-delete.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-delete.https.any.js.ini new file mode 100644 index 0000000000..3c4863611f --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-delete.https.any.js.ini @@ -0,0 +1,15 @@ +[cache-delete.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-delete.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-delete.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-delete.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-keys-attributes-for-service-worker.https.html.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-keys-attributes-for-service-worker.https.html.ini new file mode 100644 index 0000000000..b6e1756abf --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-keys-attributes-for-service-worker.https.html.ini @@ -0,0 +1,8 @@ +[cache-keys-attributes-for-service-worker.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Request.IsReloadNavigation should persist.] + expected: FAIL + + [Request.IsHistoryNavigation should persist.] + expected: FAIL diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-keys.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-keys.https.any.js.ini new file mode 100644 index 0000000000..7c7caecbba --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-keys.https.any.js.ini @@ -0,0 +1,15 @@ +[cache-keys.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-keys.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-keys.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-keys.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-match.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-match.https.any.js.ini new file mode 100644 index 0000000000..73c87dac82 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-match.https.any.js.ini @@ -0,0 +1,26 @@ +[cache-match.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cache.match ignores vary headers on opaque response.] + expected: FAIL + + +[cache-match.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cache.match ignores vary headers on opaque response.] + expected: FAIL + + +[cache-match.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cache.match ignores vary headers on opaque response.] + expected: FAIL + + +[cache-match.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cache.match ignores vary headers on opaque response.] + expected: FAIL diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-matchAll.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-matchAll.https.any.js.ini new file mode 100644 index 0000000000..de5150a9c5 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-matchAll.https.any.js.ini @@ -0,0 +1,15 @@ +[cache-matchAll.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-matchAll.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-matchAll.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-matchAll.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-put.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-put.https.any.js.ini new file mode 100644 index 0000000000..eb60675704 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-put.https.any.js.ini @@ -0,0 +1,26 @@ +[cache-put.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cache.put with a VARY:* opaque response should not reject] + expected: FAIL + + +[cache-put.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cache.put with a VARY:* opaque response should not reject] + expected: FAIL + + +[cache-put.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cache.put with a VARY:* opaque response should not reject] + expected: FAIL + + +[cache-put.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cache.put with a VARY:* opaque response should not reject] + expected: FAIL diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-storage-buckets.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-storage-buckets.https.any.js.ini new file mode 100644 index 0000000000..2a93a960c0 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-storage-buckets.https.any.js.ini @@ -0,0 +1,38 @@ +[cache-storage-buckets.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [caches from different buckets have different contents] + expected: FAIL + + [cache.open promise is rejected when bucket is gone] + expected: FAIL + + +[cache-storage-buckets.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [caches from different buckets have different contents] + expected: FAIL + + [cache.open promise is rejected when bucket is gone] + expected: FAIL + + +[cache-storage-buckets.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [caches from different buckets have different contents] + expected: FAIL + + [cache.open promise is rejected when bucket is gone] + expected: FAIL + + +[cache-storage-buckets.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [caches from different buckets have different contents] + expected: FAIL + + [cache.open promise is rejected when bucket is gone] + expected: FAIL diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-storage-keys.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-storage-keys.https.any.js.ini new file mode 100644 index 0000000000..ea55a4d27d --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-storage-keys.https.any.js.ini @@ -0,0 +1,15 @@ +[cache-storage-keys.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage-keys.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage-keys.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage-keys.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-storage-match.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-storage-match.https.any.js.ini new file mode 100644 index 0000000000..02c116f271 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-storage-match.https.any.js.ini @@ -0,0 +1,15 @@ +[cache-storage-match.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage-match.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage-match.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage-match.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/cache-storage.https.any.js.ini b/testing/web-platform/meta/service-workers/cache-storage/cache-storage.https.any.js.ini new file mode 100644 index 0000000000..ab93bb30e8 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cache-storage.https.any.js.ini @@ -0,0 +1,15 @@ +[cache-storage.https.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage.https.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage.https.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[cache-storage.https.any.serviceworker.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] diff --git a/testing/web-platform/meta/service-workers/cache-storage/common.https.window.js.ini b/testing/web-platform/meta/service-workers/cache-storage/common.https.window.js.ini new file mode 100644 index 0000000000..5423040e27 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/common.https.window.js.ini @@ -0,0 +1,3 @@ +[common.https.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/credentials.https.html.ini b/testing/web-platform/meta/service-workers/cache-storage/credentials.https.html.ini new file mode 100644 index 0000000000..8a342ea911 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/credentials.https.html.ini @@ -0,0 +1,3 @@ +[credentials.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/cross-partition.https.tentative.html.ini b/testing/web-platform/meta/service-workers/cache-storage/cross-partition.https.tentative.html.ini new file mode 100644 index 0000000000..3f2b9fe167 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/cross-partition.https.tentative.html.ini @@ -0,0 +1,16 @@ +[cross-partition.https.tentative.html] + expected: + if (os == "android") and not fission: [OK, TIMEOUT] + if (os == "android") and fission: [OK, TIMEOUT] + [CacheStorage caches shouldn't be shared with a cross-partition iframe] + expected: FAIL + + [CacheStorage caches shouldn't be shared with a cross-partition dedicated worker] + expected: FAIL + + [CacheStorage caches shouldn't be shared with a cross-partition shared worker] + expected: FAIL + + [CacheStorage caches shouldn't be shared with a cross-partition service worker] + expected: + if os == "android": [FAIL, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/sandboxed-iframes.https.html.ini b/testing/web-platform/meta/service-workers/cache-storage/sandboxed-iframes.https.html.ini new file mode 100644 index 0000000000..1b23e1a6c6 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/sandboxed-iframes.https.html.ini @@ -0,0 +1,3 @@ +[sandboxed-iframes.https.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/service-workers/cache-storage/serviceworker/__dir__.ini b/testing/web-platform/meta/service-workers/cache-storage/serviceworker/__dir__.ini new file mode 100644 index 0000000000..4a3391f164 --- /dev/null +++ b/testing/web-platform/meta/service-workers/cache-storage/serviceworker/__dir__.ini @@ -0,0 +1,3 @@ +prefs: [dom.serviceWorkers.enabled:true, dom.serviceWorkers.exemptFromPerDomainMax:true] +lsan-disabled: true +leak-threshold: [tab:51200] |