mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Sync WPT with upstream (21-09-2025) (#39414)
Automated downstream sync of changes from upstream as of 21-09-2025 [no-wpt-sync] --------- Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> Co-authored-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
77ae3a0eb3
commit
016524bd3c
716 changed files with 12167 additions and 4567 deletions
|
@ -1,4 +1,4 @@
|
|||
[activate-after.tentative.https.window.html]
|
||||
[activate-after.https.window.html]
|
||||
[fetchLater() sends out based on activateAfter.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,28 +1,7 @@
|
|||
[basic.tentative.https.window.html]
|
||||
[basic.https.window.html]
|
||||
[fetchLater() cannot be called without request.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater()'s return tells the deferred request is not yet sent.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() throws TypeError on non-HTTPS URL.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() throws RangeError on negative activationTimeout.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() throws TypeError when mutating its returned state.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() throws AbortError when its initial abort signal is aborted.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() does not throw error when it is aborted before sending.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() throws RangeError on negative activateAfter.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() with same-origin (https) URL does not throw.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -73,3 +52,18 @@
|
|||
|
||||
[fetchLater() throws TypeError on blob: scheme.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() throws RangeError on negative activateAfter.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater()'s return tells the deferred request is not yet sent.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() throws TypeError when mutating its returned state.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() throws AbortError when its initial abort signal is aborted.]
|
||||
expected: FAIL
|
||||
|
||||
[fetchLater() does not throw error when it is aborted before sending.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[header-referrer-no-referrer-when-downgrade.tentative.https.html]
|
||||
[header-referrer-no-referrer-when-downgrade.https.html]
|
||||
[Test referer header https://web-platform.test:8443]
|
||||
expected: FAIL
|
3
tests/wpt/meta/fetch/fetch-later/headers/header-referrer-no-referrer.https.html.ini
vendored
Normal file
3
tests/wpt/meta/fetch/fetch-later/headers/header-referrer-no-referrer.https.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[header-referrer-no-referrer.https.html]
|
||||
[Test referer header ]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[header-referrer-no-referrer.tentative.https.html]
|
||||
[Test referer header ]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[header-referrer-origin-when-cross-origin.tentative.https.html]
|
||||
[header-referrer-origin-when-cross-origin.https.html]
|
||||
[Test referer header https://web-platform.test:8443]
|
||||
expected: FAIL
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
[header-referrer-origin.tentative.https.html]
|
||||
[header-referrer-origin.https.html]
|
||||
[Test referer header https://www1.web-platform.test:8443]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[header-referrer-same-origin.tentative.https.html]
|
||||
[header-referrer-same-origin.https.html]
|
||||
[Test referer header ]
|
||||
expected: FAIL
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
[header-referrer-strict-origin-when-cross-origin.tentative.https.html]
|
||||
[header-referrer-strict-origin-when-cross-origin.https.html]
|
||||
[Test referer header https://www1.web-platform.test:8443]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[header-referrer-unsafe-url.tentative.https.html]
|
||||
[header-referrer-strict-origin.https.html]
|
||||
[Test referer header https://web-platform.test:8443]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[header-referrer-strict-origin.tentative.https.html]
|
||||
[header-referrer-unsafe-url.https.html]
|
||||
[Test referer header https://web-platform.test:8443]
|
||||
expected: FAIL
|
4
tests/wpt/meta/fetch/fetch-later/iframe.https.window.js.ini
vendored
Normal file
4
tests/wpt/meta/fetch/fetch-later/iframe.https.window.js.ini
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
[iframe.https.window.html]
|
||||
expected: ERROR
|
||||
[A blank iframe can trigger fetchLater.]
|
||||
expected: FAIL
|
|
@ -1,10 +0,0 @@
|
|||
[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
|
36
tests/wpt/meta/fetch/fetch-later/new-window.https.window.js.ini
vendored
Normal file
36
tests/wpt/meta/fetch/fetch-later/new-window.https.window.js.ini
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
[new-window.https.window.html]
|
||||
[A blank window[target=''\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target=''\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target=''\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A blank window[target=''\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target=''\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target=''\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A blank window[target='_blank'\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target='_blank'\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target='_blank'\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A blank window[target='_blank'\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target='_blank'\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target='_blank'\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
|
@ -1,90 +0,0 @@
|
|||
[new-window.tentative.https.window.html]
|
||||
[A blank window[target=''\][features='0'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target=''\][features='0'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target=''\][features='0'\] can trigger fetchLater.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[A blank window[target=''\][features='1'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target=''\][features='1'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target=''\][features='1'\] can trigger fetchLater.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[A blank window[target=''\][features='2'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target=''\][features='2'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target=''\][features='2'\] can trigger fetchLater.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[A blank window[target='_blank'\][features='0'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target='_blank'\][features='0'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target='_blank'\][features='0'\] can trigger fetchLater.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[A blank window[target='_blank'\][features='1'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target='_blank'\][features='1'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target='_blank'\][features='1'\] can trigger fetchLater.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[A blank window[target='_blank'\][features='2'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target='_blank'\][features='2'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target='_blank'\][features='2'\] can trigger fetchLater.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[A blank window[target=''\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target=''\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target=''\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A blank window[target=''\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target=''\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target=''\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A blank window[target='_blank'\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target='_blank'\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target='_blank'\][features=''\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A blank window[target='_blank'\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A same-origin window[target='_blank'\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
||||
|
||||
[A cross-origin window[target='_blank'\][features='popup'\] can trigger fetchLater.]
|
||||
expected: FAIL
|
|
@ -0,0 +1,6 @@
|
|||
[deferred-fetch-allowed-by-permissions-policy-attribute-redirect.https.window.html]
|
||||
[Permissions policy allow="deferred-fetch" allows fetchLater() from a redirected same-origin iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy allow="deferred-fetch" disallows fetchLater() from a redirected cross-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,15 +0,0 @@
|
|||
[deferred-fetch-allowed-by-permissions-policy-attribute-redirect.tentative.https.window.html]
|
||||
[Permissions policy allow="deferred-fetch" allows same-origin navigation in an iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy allow="deferred-fetch" disallows cross-origin navigation in an iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy allow="deferred-fetch" allows cross-origin navigation in an iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy allow="deferred-fetch" allows fetchLater() from a redirected same-origin iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy allow="deferred-fetch" disallows fetchLater() from a redirected cross-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[deferred-fetch-allowed-by-permissions-policy-attribute.tentative.https.window.html]
|
||||
[deferred-fetch-allowed-by-permissions-policy-attribute.https.window.html]
|
||||
[Permissions policy "deferred-fetch" can be enabled in the same-origin iframe using allow="deferred-fetch" attribute.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
[deferred-fetch-allowed-by-permissions-policy.tentative.https.window.html]
|
||||
[deferred-fetch-allowed-by-permissions-policy.https.window.html]
|
||||
[Permissions policy header: "deferred-fetch=*" allows fetchLater() in the top-level document.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy header: "deferred-fetch=*" allows fetchLater() in the same-origin iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy header: "deferred-fetch=*" allow="deferred-fetch" allows fetchLater() in the cross-origin iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy header: "deferred-fetch=*" allows fetchLater() in the cross-origin iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Permissions policy header: "deferred-fetch=*" allow="deferred-fetch" allows fetchLater() in the cross-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,12 +1,9 @@
|
|||
[deferred-fetch-default-permissions-policy.tentative.https.window.html]
|
||||
[deferred-fetch-default-permissions-policy.https.window.html]
|
||||
[Default "deferred-fetch" permissions policy ["self"\] allows fetchLater() in the top-level document.]
|
||||
expected: FAIL
|
||||
|
||||
[Default "deferred-fetch" permissions policy ["self"\] allows fetchLater() in the same-origin iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Default "deferred-fetch" permissions policy ["self"\] allows fetchLater() in the cross-origin iframe.]
|
||||
expected: FAIL
|
||||
|
||||
[Default "deferred-fetch-minimal" permissions policy ["*"\] allows fetchLater() in the cross-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[deferred-fetch-supported-by-permissions-policy.tentative.window.html]
|
||||
[deferred-fetch-supported-by-permissions-policy.window.html]
|
||||
[document.featurePolicy.features should advertise deferred-fetch.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[csp-allowed.tentative.https.window.html]
|
||||
[csp-allowed.https.window.html]
|
||||
[FetchLater allowed by CSP should succeed]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[csp-blocked.tentative.https.window.html]
|
||||
[csp-blocked.https.window.html]
|
||||
[FetchLater blocked by CSP should reject]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[csp-redirect-to-blocked.tentative.https.window.html]
|
||||
[csp-redirect-to-blocked.https.window.html]
|
||||
[FetchLater redirect blocked by CSP should reject]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[accumulated-oversized-payload.tentative.https.window.html]
|
||||
[accumulated-oversized-payload.https.window.html]
|
||||
[The 2nd fetchLater(same-origin) call in the top-level document is not allowed to exceed per-origin quota for its POST body of String.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[accumulated-oversized-payload.tentative.https.window.html]
|
||||
[accumulated-oversized-payload.https.window.html]
|
||||
[The 2nd fetchLater(same-origin) call in a default cross-origin child iframe has its owned per-origin quota for a request POST body of String.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[empty-payload.tentative.https.window.html]
|
||||
[empty-payload.https.window.html]
|
||||
expected: ERROR
|
||||
[fetchLater() does not accept empty POST request body of String in a default cross-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[max-payload.tentative.https.window.html]
|
||||
[max-payload.https.window.html]
|
||||
expected: ERROR
|
||||
[fetchLater() accepts max payload in a parent-frame-origin POST request body of String in a default cross-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[multiple-iframes.tentative.https.window.html]
|
||||
[multiple-iframes.https.window.html]
|
||||
[fetchLater() request quota are delegated to cross-origin iframes and not shared, even if they are same origin.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[oversized-payload.tentative.https.window.html]
|
||||
[oversized-payload.https.window.html]
|
||||
expected: TIMEOUT
|
||||
[fetchLater() does not accept payload[size=8193\] exceeding per-origin quota in a POST request body of String in a default cross-origin iframe.]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
|||
[sandboxed-iframe.https.window.html]
|
||||
[A sandboxed iframe (without allow-same-origin) should be treated as cross-origin and have its own minimal quota.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[small-payload.tentative.https.window.html]
|
||||
[small-payload.https.window.html]
|
||||
expected: ERROR
|
||||
[fetchLater() accepts payload[size=20\] in a POST request body of String in a default cross-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[empty-payload.tentative.https.window.html]
|
||||
[empty-payload.https.window.html]
|
||||
expected: ERROR
|
||||
[fetchLater() does not accept an empty POST request body of String.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[max-payload.tentative.https.window.html]
|
||||
[max-payload.https.window.html]
|
||||
[fetchLater() accepts max payload in a POST request body of String.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[multiple-origins.tentative.https.window.html]
|
||||
[multiple-origins.https.window.html]
|
||||
[fetchLater() has per-request-origin quota for its POST body of String.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[oversized-payload.tentative.https.window.html]
|
||||
[oversized-payload.https.window.html]
|
||||
[fetchLater() does not accept payload[size=65537\] exceeding per-origin quota in a POST request body of String.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
[accumulated-oversized-payload.tentative.https.window.html]
|
||||
[accumulated-oversized-payload.https.window.html]
|
||||
[The 2nd fetchLater(same-origin) call in a same-origin child iframe is not allowed to exceed per-origin quota for its POST body of String.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[empty-payload.tentative.https.window.html]
|
||||
[empty-payload.https.window.html]
|
||||
expected: ERROR
|
||||
[fetchLater() does not accept empty POST request body of String in same-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,5 +1,4 @@
|
|||
[max-payload.tentative.https.window.html]
|
||||
expected: ERROR
|
||||
[max-payload.https.window.html]
|
||||
[fetchLater() accepts max payload in a POST request body of String in same-origin iframe.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
[multiple-iframes.tentative.https.window.html]
|
||||
expected: ERROR
|
||||
[multiple-iframes.https.window.html]
|
||||
[fetchLater() request quota are shared by same-origin iframes and root.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[oversized-payload.tentative.https.window.html]
|
||||
[oversized-payload.https.window.html]
|
||||
expected: TIMEOUT
|
||||
[fetchLater() does not accept payload[size=65537\] exceeding per-origin quota in a POST request body of String in same-origin iframe.]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
|||
[sandboxed-iframe.https.window.html]
|
||||
[A sandboxed iframe with 'allow-same-origin' should be treated as same-origin and share the parent's quota.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[small-payload.tentative.https.window.html]
|
||||
[small-payload.https.window.html]
|
||||
expected: ERROR
|
||||
[fetchLater() accepts payload[size=20\] in a POST request body of String in same-origin iframe.]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[small-payload.tentative.https.window.html]
|
||||
[small-payload.https.window.html]
|
||||
[fetchLater() accepts small payload in a POST request body of String.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[send-on-deactivate-with-background-sync.tentative.https.window.html]
|
||||
[send-on-deactivate-with-background-sync.https.window.html]
|
||||
[fetchLater() does send on page entering BFCache even if BackgroundSync is on.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[send-on-deactivate.tentative.https.window.html]
|
||||
[send-on-deactivate.https.window.html]
|
||||
[fetchLater() sends on page entering BFCache if BackgroundSync is off.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
[not-send-after-abort.tentative.https.window.html]
|
||||
[not-send-after-abort.https.window.html]
|
||||
[A discarded document does not send an already aborted fetchLater request.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[send-multiple-with-activate-after.tentative.https.window.html]
|
||||
[send-multiple-with-activate-after.https.window.html]
|
||||
[A discarded document sends all its fetchLater requests, no matter how much their activateAfter timeout remain.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[send-multiple.tentative.https.window.html]
|
||||
[send-multiple.https.window.html]
|
||||
[A discarded document sends all its fetchLater requests.]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue