From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- .../fetch/api/basic/request-upload.h2.any.js.ini | 53 ++++++++--- .../redirect/redirect-keepalive.https.any.js.ini | 20 ++-- .../destination/fetch-destination.https.html.ini | 2 + .../fetch/api/request/request-bad-port.any.js.ini | 3 + .../fetch/api/request/request-keepalive.any.js.ini | 13 +-- ...ionary-clear-site-data.tentative.https.html.ini | 9 ++ ...ctionary-decompression.tentative.https.html.ini | 9 ++ ...etch-with-link-element.tentative.https.html.ini | 9 ++ ...fetch-with-link-header.tentative.https.html.ini | 3 + ...ictionary-registration.tentative.https.html.ini | 9 ++ .../zstd/bad-zstd-body.https.any.js.ini | 56 ----------- ...big-window-zstd-body.tentative.https.any.js.ini | 18 ---- .../zstd/big-zstd-body.https.any.js.ini | 30 ------ .../zstd/zstd-body.https.any.js.ini | 32 ------- .../activate-after.tentative.https.window.js.ini | 17 +++- .../iframe.tentative.https.window.js.ini | 8 ++ .../new-window.tentative.https.window.js.ini | 67 +++++++++++++- .../csp-allowed.tentative.https.window.js.ini | 3 +- .../csp-blocked.tentative.https.window.js.ini | 3 +- ...direct-to-blocked.tentative.https.window.js.ini | 3 +- .../quota.tentative.https.window.js.ini | 102 ++++++++++++++++++++- ...end-on-deactivate.tentative.https.window.js.ini | 20 +++- ...-send-after-abort.tentative.https.window.js.ini | 3 +- ...th-activate-after.tentative.https.window.js.ini | 3 +- .../send-multiple.tentative.https.window.js.ini | 3 +- .../meta/fetch/http-cache/304-update.any.js.ini | 9 +- .../range/non-matching-range-response.html.ini | 2 +- ...itigation-allowed-apis.tentative.https.html.ini | 15 +++ ...angling-markup-mitigation-data-url.sub.html.ini | 18 ---- ...rkup-mitigation-data-url.tentative.sub.html.ini | 18 ++++ .../dangling-markup-mitigation.html.ini | 27 ------ .../dangling-markup-mitigation.https.html.ini | 6 -- .../dangling-markup-mitigation.tentative.html.ini | 27 ++++++ ...ling-markup-mitigation.tentative.https.html.ini | 4 + .../fetch/security/dangling-markup/option.html.ini | 2 + 35 files changed, 385 insertions(+), 241 deletions(-) create mode 100644 testing/web-platform/meta/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html.ini create mode 100644 testing/web-platform/meta/fetch/compression-dictionary/dictionary-decompression.tentative.https.html.ini create mode 100644 testing/web-platform/meta/fetch/compression-dictionary/dictionary-fetch-with-link-element.tentative.https.html.ini create mode 100644 testing/web-platform/meta/fetch/compression-dictionary/dictionary-fetch-with-link-header.tentative.https.html.ini create mode 100644 testing/web-platform/meta/fetch/compression-dictionary/dictionary-registration.tentative.https.html.ini delete mode 100644 testing/web-platform/meta/fetch/content-encoding/zstd/bad-zstd-body.https.any.js.ini delete mode 100644 testing/web-platform/meta/fetch/content-encoding/zstd/big-window-zstd-body.tentative.https.any.js.ini delete mode 100644 testing/web-platform/meta/fetch/content-encoding/zstd/big-zstd-body.https.any.js.ini delete mode 100644 testing/web-platform/meta/fetch/content-encoding/zstd/zstd-body.https.any.js.ini create mode 100644 testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-allowed-apis.tentative.https.html.ini delete mode 100644 testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-data-url.sub.html.ini create mode 100644 testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-data-url.tentative.sub.html.ini delete mode 100644 testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.html.ini delete mode 100644 testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.https.html.ini create mode 100644 testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.tentative.html.ini create mode 100644 testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.tentative.https.html.ini (limited to 'testing/web-platform/meta/fetch') diff --git a/testing/web-platform/meta/fetch/api/basic/request-upload.h2.any.js.ini b/testing/web-platform/meta/fetch/api/basic/request-upload.h2.any.js.ini index efaa4370b1..fb235e791c 100644 --- a/testing/web-platform/meta/fetch/api/basic/request-upload.h2.any.js.ini +++ b/testing/web-platform/meta/fetch/api/basic/request-upload.h2.any.js.ini @@ -109,37 +109,60 @@ [request-upload.h2.any.html] expected: if (os == "mac") and not debug: [ERROR, OK] - if os == "android": TIMEOUT + if os == "android": [ERROR, TIMEOUT] ERROR + [Fetch with POST with empty ReadableStream] - expected: FAIL + expected: + if os == "android": [PASS, FAIL] + PASS [Fetch with POST with ReadableStream] - expected: FAIL + expected: + if os == "android": [PASS, FAIL] + PASS [Fetch with POST with ReadableStream on 421 response should return the response and not retry.] - expected: FAIL - + expected: + if os == "android": [PASS, FAIL] + PASS + [Feature detect for POST with ReadableStream] - expected: FAIL + expected: + if os == "android": [PASS, FAIL] + PASS [Feature detect for POST with ReadableStream, using request object] - expected: FAIL + expected: + if os == "android": [PASS, FAIL] + PASS + + [Synchronous feature detect] + expected: + if os == "android": [PASS, FAIL] + PASS [Streaming upload with body containing a String] - expected: FAIL + expected: + if os == "android": [PASS, FAIL] + PASS [Streaming upload with body containing null] - expected: FAIL + expected: + if os == "android": [PASS, FAIL] + PASS [Streaming upload with body containing a number] - expected: FAIL + expected: + if os == "android": [PASS, FAIL] + PASS [Streaming upload should fail on a 401 response] - expected: FAIL - - [Synchronous feature detect] - expected: FAIL + expected: + if os == "android": [PASS, FAIL] + PASS [ReadbleStream should be closed on signal.abort] - expected: TIMEOUT + expected: + if os == "android": [PASS, TIMEOUT] + PASS diff --git a/testing/web-platform/meta/fetch/api/redirect/redirect-keepalive.https.any.js.ini b/testing/web-platform/meta/fetch/api/redirect/redirect-keepalive.https.any.js.ini index a437c2dbd7..60a2d2f498 100644 --- a/testing/web-platform/meta/fetch/api/redirect/redirect-keepalive.https.any.js.ini +++ b/testing/web-platform/meta/fetch/api/redirect/redirect-keepalive.https.any.js.ini @@ -1,16 +1,12 @@ [redirect-keepalive.https.any.html] expected: - if (os == "linux") and fission and not debug and not asan and tsan: [TIMEOUT, OK] - if (os == "linux") and fission and not debug and not asan and not tsan: [OK, TIMEOUT] - if (os == "linux") and fission and not debug and asan: [TIMEOUT, OK] - if (os == "win") and (processor == "x86_64") and swgl: TIMEOUT - if (os == "win") and (processor == "x86_64") and not swgl: [OK, TIMEOUT] - if (os == "linux") and fission and debug: [OK, TIMEOUT] + if fission and (os == "win") and (processor == "x86") and not debug: OK + if fission and (os == "mac") and debug: OK + if not fission: OK + [OK, TIMEOUT] [[keepalive\][iframe\][load\] mixed content redirect; setting up] expected: - if (os == "linux") and fission and not debug and not asan and tsan: [TIMEOUT, PASS] - if (os == "linux") and fission and not debug and not asan and not tsan: [PASS, TIMEOUT] - if (os == "linux") and fission and not debug and asan: [TIMEOUT, PASS] - if (os == "win") and (processor == "x86_64") and swgl: TIMEOUT - if (os == "win") and (processor == "x86_64") and not swgl: [PASS, TIMEOUT] - if (os == "linux") and fission and debug: [PASS, TIMEOUT] + if fission and (os == "win") and (processor == "x86") and not debug: PASS + if fission and (os == "mac") and debug: PASS + if not fission: PASS + [PASS, TIMEOUT] diff --git a/testing/web-platform/meta/fetch/api/request/destination/fetch-destination.https.html.ini b/testing/web-platform/meta/fetch/api/request/destination/fetch-destination.https.html.ini index 6cf66cc8df..ecd61dfa67 100644 --- a/testing/web-platform/meta/fetch/api/request/destination/fetch-destination.https.html.ini +++ b/testing/web-platform/meta/fetch/api/request/destination/fetch-destination.https.html.ini @@ -1,4 +1,6 @@ [fetch-destination.https.html] + expected: + if (os == "android") and not debug: [OK, ERROR] [HTMLLinkElement with rel=preload and as=audio fetches with a "audio" Request.destination] expected: FAIL diff --git a/testing/web-platform/meta/fetch/api/request/request-bad-port.any.js.ini b/testing/web-platform/meta/fetch/api/request/request-bad-port.any.js.ini index 496558e324..e30013b1c1 100644 --- a/testing/web-platform/meta/fetch/api/request/request-bad-port.any.js.ini +++ b/testing/web-platform/meta/fetch/api/request/request-bad-port.any.js.ini @@ -1,11 +1,14 @@ [request-bad-port.any.html] expected: if (os == "android") and fission: [OK, TIMEOUT] + CRASH [request-bad-port.any.serviceworker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] [request-bad-port.any.worker.html] + expected: CRASH [request-bad-port.any.sharedworker.html] + expected: CRASH diff --git a/testing/web-platform/meta/fetch/api/request/request-keepalive.any.js.ini b/testing/web-platform/meta/fetch/api/request/request-keepalive.any.js.ini index a381948828..9298bef1ad 100644 --- a/testing/web-platform/meta/fetch/api/request/request-keepalive.any.js.ini +++ b/testing/web-platform/meta/fetch/api/request/request-keepalive.any.js.ini @@ -1,12 +1,10 @@ +prefs: [dom.fetchKeepalive.enabled:true] [request-keepalive.any.sharedworker.html] expected: if (os == "android") and fission: [OK, TIMEOUT] [keepalive flag with stream body] expected: FAIL - [keepalive flag] - expected: FAIL - [request-keepalive.any.worker.html] expected: @@ -14,21 +12,12 @@ [keepalive flag with stream body] expected: FAIL - [keepalive flag] - expected: FAIL - [request-keepalive.any.serviceworker.html] [keepalive flag with stream body] expected: FAIL - [keepalive flag] - expected: FAIL - [request-keepalive.any.html] [keepalive flag with stream body] expected: FAIL - - [keepalive flag] - expected: FAIL diff --git a/testing/web-platform/meta/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html.ini b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html.ini new file mode 100644 index 0000000000..a757741d96 --- /dev/null +++ b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-clear-site-data.tentative.https.html.ini @@ -0,0 +1,9 @@ +[dictionary-clear-site-data.tentative.https.html] + [Clear-Site-Data with "cache" directive must unregister dictionary] + expected: FAIL + + [Clear-Site-Data with "cookies" directive must unregister dictionary] + expected: FAIL + + [Clear-Site-Data with "storage" directive must not unregister dictionary] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/compression-dictionary/dictionary-decompression.tentative.https.html.ini b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-decompression.tentative.https.html.ini new file mode 100644 index 0000000000..e6a6956c17 --- /dev/null +++ b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-decompression.tentative.https.html.ini @@ -0,0 +1,9 @@ +[dictionary-decompression.tentative.https.html] + [Decompresion using Brotli with the dictionary works as expected] + expected: FAIL + + [Decompresion using Zstandard with the dictionary works as expected] + expected: FAIL + + [Decompresion of a cross origin resource works as expected] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/compression-dictionary/dictionary-fetch-with-link-element.tentative.https.html.ini b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-fetch-with-link-element.tentative.https.html.ini new file mode 100644 index 0000000000..96609ca1b8 --- /dev/null +++ b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-fetch-with-link-element.tentative.https.html.ini @@ -0,0 +1,9 @@ +[dictionary-fetch-with-link-element.tentative.https.html] + [Browser supports link element with dictionary rel.] + expected: FAIL + + [Fetch cross origin dictionary using link element] + expected: FAIL + + [Fetch same origin dictionary using link element] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/compression-dictionary/dictionary-fetch-with-link-header.tentative.https.html.ini b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-fetch-with-link-header.tentative.https.html.ini new file mode 100644 index 0000000000..e7588c640c --- /dev/null +++ b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-fetch-with-link-header.tentative.https.html.ini @@ -0,0 +1,3 @@ +[dictionary-fetch-with-link-header.tentative.https.html] + [Fetch same origin dictionary using link header] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/compression-dictionary/dictionary-registration.tentative.https.html.ini b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-registration.tentative.https.html.ini new file mode 100644 index 0000000000..27ecd816f2 --- /dev/null +++ b/testing/web-platform/meta/fetch/compression-dictionary/dictionary-registration.tentative.https.html.ini @@ -0,0 +1,9 @@ +[dictionary-registration.tentative.https.html] + [Simple dictionary registration and unregistration] + expected: FAIL + + [Dictionary registration with dictionary ID] + expected: FAIL + + [New dictionary registration overrides the existing one] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/content-encoding/zstd/bad-zstd-body.https.any.js.ini b/testing/web-platform/meta/fetch/content-encoding/zstd/bad-zstd-body.https.any.js.ini deleted file mode 100644 index 28a3d44503..0000000000 --- a/testing/web-platform/meta/fetch/content-encoding/zstd/bad-zstd-body.https.any.js.ini +++ /dev/null @@ -1,56 +0,0 @@ -[bad-zstd-body.https.any.worker.html] - [Consuming the body of a resource with bad zstd content with arrayBuffer() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with blob() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with json() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with text() should reject] - expected: FAIL - - -[bad-zstd-body.https.any.serviceworker.html] - expected: - if (processor == "x86") and not debug: [OK, TIMEOUT] - [Consuming the body of a resource with bad zstd content with arrayBuffer() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with blob() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with json() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with text() should reject] - expected: FAIL - - -[bad-zstd-body.https.any.sharedworker.html] - [Consuming the body of a resource with bad zstd content with arrayBuffer() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with blob() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with json() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with text() should reject] - expected: FAIL - - -[bad-zstd-body.https.any.html] - [Consuming the body of a resource with bad zstd content with arrayBuffer() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with blob() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with json() should reject] - expected: FAIL - - [Consuming the body of a resource with bad zstd content with text() should reject] - expected: FAIL diff --git a/testing/web-platform/meta/fetch/content-encoding/zstd/big-window-zstd-body.tentative.https.any.js.ini b/testing/web-platform/meta/fetch/content-encoding/zstd/big-window-zstd-body.tentative.https.any.js.ini deleted file mode 100644 index 3d0071e638..0000000000 --- a/testing/web-platform/meta/fetch/content-encoding/zstd/big-window-zstd-body.tentative.https.any.js.ini +++ /dev/null @@ -1,18 +0,0 @@ -[big-window-zstd-body.tentative.https.any.serviceworker.html] - [Consuming the body of a resource with too large of a zstd window size should reject] - expected: FAIL - - -[big-window-zstd-body.tentative.https.any.worker.html] - [Consuming the body of a resource with too large of a zstd window size should reject] - expected: FAIL - - -[big-window-zstd-body.tentative.https.any.sharedworker.html] - [Consuming the body of a resource with too large of a zstd window size should reject] - expected: FAIL - - -[big-window-zstd-body.tentative.https.any.html] - [Consuming the body of a resource with too large of a zstd window size should reject] - expected: FAIL diff --git a/testing/web-platform/meta/fetch/content-encoding/zstd/big-zstd-body.https.any.js.ini b/testing/web-platform/meta/fetch/content-encoding/zstd/big-zstd-body.https.any.js.ini deleted file mode 100644 index 0376970ceb..0000000000 --- a/testing/web-platform/meta/fetch/content-encoding/zstd/big-zstd-body.https.any.js.ini +++ /dev/null @@ -1,30 +0,0 @@ -[big-zstd-body.https.any.sharedworker.html] - [large zstd data should be decompressed successfully] - expected: FAIL - - [large zstd data should be decompressed successfully with byte stream] - expected: FAIL - - -[big-zstd-body.https.any.html] - [large zstd data should be decompressed successfully] - expected: FAIL - - [large zstd data should be decompressed successfully with byte stream] - expected: FAIL - - -[big-zstd-body.https.any.serviceworker.html] - [large zstd data should be decompressed successfully] - expected: FAIL - - [large zstd data should be decompressed successfully with byte stream] - expected: FAIL - - -[big-zstd-body.https.any.worker.html] - [large zstd data should be decompressed successfully] - expected: FAIL - - [large zstd data should be decompressed successfully with byte stream] - expected: FAIL diff --git a/testing/web-platform/meta/fetch/content-encoding/zstd/zstd-body.https.any.js.ini b/testing/web-platform/meta/fetch/content-encoding/zstd/zstd-body.https.any.js.ini deleted file mode 100644 index 9fee706958..0000000000 --- a/testing/web-platform/meta/fetch/content-encoding/zstd/zstd-body.https.any.js.ini +++ /dev/null @@ -1,32 +0,0 @@ -[zstd-body.https.any.sharedworker.html] - [fetched zstd data with content type text should be decompressed.] - expected: FAIL - - [fetched zstd data with content type octetstream should be decompressed.] - expected: FAIL - - -[zstd-body.https.any.worker.html] - [fetched zstd data with content type text should be decompressed.] - expected: FAIL - - [fetched zstd data with content type octetstream should be decompressed.] - expected: FAIL - - -[zstd-body.https.any.serviceworker.html] - expected: - if (processor == "x86") and not debug: [OK, TIMEOUT] - [fetched zstd data with content type text should be decompressed.] - expected: FAIL - - [fetched zstd data with content type octetstream should be decompressed.] - expected: FAIL - - -[zstd-body.https.any.html] - [fetched zstd data with content type text should be decompressed.] - expected: FAIL - - [fetched zstd data with content type octetstream should be decompressed.] - expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/activate-after.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/activate-after.tentative.https.window.js.ini index e6472de4e0..974e367b16 100644 --- a/testing/web-platform/meta/fetch/fetch-later/activate-after.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/activate-after.tentative.https.window.js.ini @@ -1,2 +1,17 @@ [activate-after.tentative.https.window.html] - expected: ERROR + expected: + if (os == "win") and debug and (processor == "x86_64"): OK + if (os == "win") and not debug: TIMEOUT + if (os == "linux") and not debug: TIMEOUT + if os == "android": OK + [OK, TIMEOUT] + [fetchLater() sends out based on activateAfter.] + expected: + if (os == "win") and debug and (processor == "x86_64"): FAIL + if (os == "win") and not debug: TIMEOUT + if (os == "linux") and not debug: TIMEOUT + if os == "android": FAIL + [FAIL, TIMEOUT] + + [fetchLater() sends out based on activateAfter, even if document is in BFCache.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/iframe.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/iframe.tentative.https.window.js.ini index b3d4cb1d9f..3b49643c4a 100644 --- a/testing/web-platform/meta/fetch/fetch-later/iframe.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/iframe.tentative.https.window.js.ini @@ -1,2 +1,10 @@ [iframe.tentative.https.window.html] expected: ERROR + [A blank iframe can trigger fetchLater.] + expected: FAIL + + [A same-origin iframe can trigger fetchLater.] + expected: FAIL + + [A cross-origin iframe can trigger fetchLater.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/new-window.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/new-window.tentative.https.window.js.ini index 1f36e0e5b5..350ca32215 100644 --- a/testing/web-platform/meta/fetch/fetch-later/new-window.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/new-window.tentative.https.window.js.ini @@ -1,2 +1,67 @@ [new-window.tentative.https.window.html] - expected: ERROR + expected: TIMEOUT + [A blank window[target=''\][features='0'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target=''\][features='0'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target=''\][features='0'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target=''\][features='1'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target=''\][features='1'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target=''\][features='1'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target=''\][features='2'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target=''\][features='2'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target=''\][features='2'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target='_blank'\][features='0'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target='_blank'\][features='0'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target='_blank'\][features='0'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target='_blank'\][features='1'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target='_blank'\][features='1'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target='_blank'\][features='1'\] can trigger fetchLater.] + expected: TIMEOUT + + [A blank window[target='_blank'\][features='2'\] can trigger fetchLater.] + expected: TIMEOUT + + [A same-origin window[target='_blank'\][features='2'\] can trigger fetchLater.] + expected: + if os == "linux": [TIMEOUT, FAIL] + TIMEOUT + + [A cross-origin window[target='_blank'\][features='2'\] can trigger fetchLater.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/fetch/fetch-later/policies/csp-allowed.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/policies/csp-allowed.tentative.https.window.js.ini index 357487889e..6508e4b951 100644 --- a/testing/web-platform/meta/fetch/fetch-later/policies/csp-allowed.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/policies/csp-allowed.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [csp-allowed.tentative.https.window.html] - expected: ERROR + [FetchLater allowed by CSP should succeed] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/policies/csp-blocked.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/policies/csp-blocked.tentative.https.window.js.ini index f6d883b210..8fc5e85884 100644 --- a/testing/web-platform/meta/fetch/fetch-later/policies/csp-blocked.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/policies/csp-blocked.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [csp-blocked.tentative.https.window.html] - expected: ERROR + [FetchLater blocked by CSP should reject] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/policies/csp-redirect-to-blocked.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/policies/csp-redirect-to-blocked.tentative.https.window.js.ini index 23cc981401..351d7b9f39 100644 --- a/testing/web-platform/meta/fetch/fetch-later/policies/csp-redirect-to-blocked.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/policies/csp-redirect-to-blocked.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [csp-redirect-to-blocked.tentative.https.window.html] - expected: ERROR + [FetchLater redirect blocked by CSP should reject] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/quota.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/quota.tentative.https.window.js.ini index d520b45dd6..cbea9fe50e 100644 --- a/testing/web-platform/meta/fetch/fetch-later/quota.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/quota.tentative.https.window.js.ini @@ -1,2 +1,102 @@ [quota.tentative.https.window.html] - expected: ERROR + [A fetchLater() call accept small data in POST request of String.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of ArrayBuffer.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of FormData.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of URLSearchParams.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of Blob.] + expected: FAIL + + [A fetchLater() call accept small data in POST request of File.] + expected: FAIL + + [A single fetchLater() call takes up the per-origin quota for its body of String.] + expected: FAIL + + [A single fetchLater() call takes up the per-origin quota for its body of ArrayBuffer.] + expected: FAIL + + [A single fetchLater() call takes up the per-origin quota for its body of Blob.] + expected: FAIL + + [A single fetchLater() call takes up the per-origin quota for its body of File.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of String.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of ArrayBuffer.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of FormData.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of URLSearchParams.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of Blob.] + expected: FAIL + + [A single fetchLater() call does not accept empty data in POST request of File.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of String.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of ArrayBuffer.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of FormData.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of URLSearchParams.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of Blob.] + expected: FAIL + + [A single fetchLater() call is not allowed to exceed per-origin quota for its body of File.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of String.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of ArrayBuffer.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of FormData.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of URLSearchParams.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of Blob.] + expected: FAIL + + [The 2nd fetchLater() call is not allowed to exceed per-origin quota for its body of File.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of String.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of ArrayBuffer.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of FormData.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of URLSearchParams.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of Blob.] + expected: FAIL + + [The 2nd fetchLater() call to another origin does not exceed per-origin quota for its body of File.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/send-on-deactivate.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/send-on-deactivate.tentative.https.window.js.ini index a2b0463bd2..d3809b5596 100644 --- a/testing/web-platform/meta/fetch/fetch-later/send-on-deactivate.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/send-on-deactivate.tentative.https.window.js.ini @@ -1,2 +1,20 @@ [send-on-deactivate.tentative.https.window.html] - expected: ERROR + expected: + if os == "android": OK + TIMEOUT + [fetchLater() sends on page entering BFCache if BackgroundSync is off.] + expected: FAIL + + [Call fetchLater() when BFCached with activateAfter=0 sends immediately.] + expected: + if os == "android": FAIL + TIMEOUT + + [fetchLater() sends on navigating away a page w/o BFCache.] + expected: FAIL + + [fetchLater() does not send aborted request on navigating away a page w/o BFCache.] + expected: FAIL + + [fetchLater() with activateAfter=1m sends on page entering BFCache if BackgroundSync is off.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/not-send-after-abort.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/not-send-after-abort.tentative.https.window.js.ini index 7ad7c66569..4cc12d0811 100644 --- a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/not-send-after-abort.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/not-send-after-abort.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [not-send-after-abort.tentative.https.window.html] - expected: ERROR + [A discarded document does not send an already aborted fetchLater request.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple-with-activate-after.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple-with-activate-after.tentative.https.window.js.ini index b2e29b8c0d..ab83122a17 100644 --- a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple-with-activate-after.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple-with-activate-after.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [send-multiple-with-activate-after.tentative.https.window.html] - expected: ERROR + [A discarded document sends all its fetchLater requests, no matter how much their activateAfter timeout remain.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple.tentative.https.window.js.ini b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple.tentative.https.window.js.ini index 25c3563074..339b997ec3 100644 --- a/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple.tentative.https.window.js.ini +++ b/testing/web-platform/meta/fetch/fetch-later/send-on-discard/send-multiple.tentative.https.window.js.ini @@ -1,2 +1,3 @@ [send-multiple.tentative.https.window.html] - expected: ERROR + [A discarded document sends all its fetchLater requests.] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/http-cache/304-update.any.js.ini b/testing/web-platform/meta/fetch/http-cache/304-update.any.js.ini index 02081eeced..7c0bd8cc87 100644 --- a/testing/web-platform/meta/fetch/http-cache/304-update.any.js.ini +++ b/testing/web-platform/meta/fetch/http-cache/304-update.any.js.ini @@ -1,7 +1,7 @@ [304-update.any.html] [HTTP cache updates stored headers from a Last-Modified 304] expected: - if swgl and (os == "linux") and not fission: [FAIL, PASS] + if asan and not fission: [FAIL, PASS] [PASS, FAIL] @@ -26,7 +26,8 @@ [304-update.any.sharedworker.html] [HTTP cache updates stored headers from a Last-Modified 304] expected: - if (os == "win") and debug and (processor == "x86_64") and not swgl: PASS - if (os == "linux") and swgl and fission: [FAIL, PASS] - if (os == "win") and not debug: PASS + if (os == "linux") and not tsan and not fission and not debug: [FAIL, PASS] + if (os == "win") and debug and (processor == "x86_64"): PASS + if (os == "win") and not debug and (processor == "x86_64"): PASS + if (os == "linux") and tsan: [FAIL, PASS] [PASS, FAIL] diff --git a/testing/web-platform/meta/fetch/range/non-matching-range-response.html.ini b/testing/web-platform/meta/fetch/range/non-matching-range-response.html.ini index ac2139a698..d4f098bee6 100644 --- a/testing/web-platform/meta/fetch/range/non-matching-range-response.html.ini +++ b/testing/web-platform/meta/fetch/range/non-matching-range-response.html.ini @@ -1,3 +1,3 @@ [non-matching-range-response.html] expected: - if (os == "android") and fission: [OK, TIMEOUT] + if (os == "android") and not debug: [OK, ERROR] diff --git a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-allowed-apis.tentative.https.html.ini b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-allowed-apis.tentative.https.html.ini new file mode 100644 index 0000000000..2203040c5a --- /dev/null +++ b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-allowed-apis.tentative.https.html.ini @@ -0,0 +1,15 @@ +[dangling-markup-mitigation-allowed-apis.tentative.https.html] + [Does not block xhr] + expected: FAIL + + [Does not block EventSource] + expected: FAIL + + [Does not block fetch] + expected: FAIL + + [Does not block Worker] + expected: FAIL + + [Does not block importScripts] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-data-url.sub.html.ini b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-data-url.sub.html.ini deleted file mode 100644 index 3ad84da9ea..0000000000 --- a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-data-url.sub.html.ini +++ /dev/null @@ -1,18 +0,0 @@ -[dangling-markup-mitigation-data-url.sub.html] - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL diff --git a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-data-url.tentative.sub.html.ini b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-data-url.tentative.sub.html.ini new file mode 100644 index 0000000000..7f912d09db --- /dev/null +++ b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation-data-url.tentative.sub.html.ini @@ -0,0 +1,18 @@ +[dangling-markup-mitigation-data-url.tentative.sub.html] + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.html.ini b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.html.ini deleted file mode 100644 index c7893561e2..0000000000 --- a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.html.ini +++ /dev/null @@ -1,27 +0,0 @@ -[dangling-markup-mitigation.html] - [Fetch: /images/gre\\nen-1x1.png?img=<] - expected: FAIL - - [Fetch: /images/gre\\ren-1x1.png?img=<] - expected: FAIL - - [Fetch: /images/gre\\ten-1x1.png?img=<] - expected: FAIL - - [Fetch: /images/green-1x1.png?<\\n=block] - expected: FAIL - - [Fetch: /images/green-1x1.png?<\\r=block] - expected: FAIL - - [Fetch: /images/green-1x1.png?<\\t=block] - expected: FAIL - - [] - expected: FAIL - - [] - expected: FAIL - - [\\n \\n ] - expected: FAIL diff --git a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.https.html.ini b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.https.html.ini deleted file mode 100644 index cb771fa501..0000000000 --- a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.https.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[dangling-markup-mitigation.https.html] - expected: - if (os == "win") and not debug and (processor == "x86_64"): [ERROR, TIMEOUT] - ERROR - [Only blocks dangling markup requests] - expected: TIMEOUT diff --git a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.tentative.html.ini b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.tentative.html.ini new file mode 100644 index 0000000000..3b0a8472ab --- /dev/null +++ b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.tentative.html.ini @@ -0,0 +1,27 @@ +[dangling-markup-mitigation.tentative.html] + [Fetch: /images/gre\\nen-1x1.png?img=<] + expected: FAIL + + [Fetch: /images/gre\\ren-1x1.png?img=<] + expected: FAIL + + [Fetch: /images/gre\\ten-1x1.png?img=<] + expected: FAIL + + [Fetch: /images/green-1x1.png?<\\n=block] + expected: FAIL + + [Fetch: /images/green-1x1.png?<\\r=block] + expected: FAIL + + [Fetch: /images/green-1x1.png?<\\t=block] + expected: FAIL + + [] + expected: FAIL + + [] + expected: FAIL + + [\\n \\n ] + expected: FAIL diff --git a/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.tentative.https.html.ini b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.tentative.https.html.ini new file mode 100644 index 0000000000..84e1a1eb33 --- /dev/null +++ b/testing/web-platform/meta/fetch/security/dangling-markup/dangling-markup-mitigation.tentative.https.html.ini @@ -0,0 +1,4 @@ +[dangling-markup-mitigation.tentative.https.html] + expected: ERROR + [Only blocks dangling markup requests] + expected: TIMEOUT diff --git a/testing/web-platform/meta/fetch/security/dangling-markup/option.html.ini b/testing/web-platform/meta/fetch/security/dangling-markup/option.html.ini index 7be7277c4a..24e57c5457 100644 --- a/testing/web-platform/meta/fetch/security/dangling-markup/option.html.ini +++ b/testing/web-platform/meta/fetch/security/dangling-markup/option.html.ini @@ -1,4 +1,6 @@ [option.html] + expected: + if (os == "android") and not debug: [OK, CRASH] [