From 93e2fed79f5a652ce3c66a7c38d0ebc0f868e7cc Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Fri, 26 Sep 2025 15:27:40 +0200 Subject: [PATCH] Add abort signal preference to experimental web features (#39421) This way we have full coverage on WPT rather than the specific folders with tests. Part of #34866 Signed-off-by: Tim van der Lippe --- ports/servoshell/prefs.rs | 1 + ...orward-cache-open-connection.window.js.ini | 3 +- ...rward-cache-open-transaction.window.js.ini | 3 +- ...entialscontainer-get-basics.https.html.ini | 2 - tests/wpt/meta/dom/abort/__dir__.ini | 3 - tests/wpt/meta/dom/events/__dir__.ini | 3 - tests/wpt/meta/dom/idlharness.any.js.ini | 90 ------------------- tests/wpt/meta/dom/idlharness.window.js.ini | 90 ------------------- tests/wpt/meta/dom/interface-objects.html.ini | 6 -- tests/wpt/meta/fetch/api/abort/__dir__.ini | 3 - .../multiple-iframes.https.window.js.ini | 1 + .../send-on-deactivate.https.window.js.ini | 3 +- .../broadcastchannel.window.js.ini | 3 +- .../dedicatedworker.tentative.window.js.ini | 3 +- .../evict-on-message.tentative.window.js.ini | 3 +- .../document-state.https.html.ini | 5 +- .../navigateToNew.window.js.ini | 3 - .../navigation-bfcache.window.js.ini | 3 +- .../navigation-helpers.window.js.ini | 3 +- .../navigation-same-document.window.js.ini | 3 - ...load-main-frame-cross-origin.window.js.ini | 3 - ...nload-main-frame-same-origin.window.js.ini | 3 - .../history-state-after-bfcache.window.js.ini | 3 +- ...swap-when-other-contexts-in-group.html.ini | 3 - ...ng-context-group-change.tentative.html.ini | 6 -- ...-timing-attributes.tentative.window.js.ini | 3 +- ...cache-reasons-stay.tentative.window.js.ini | 3 +- ...ion-timing-bfcache.tentative.window.js.ini | 3 +- ...oss-origin-bfcache.tentative.window.js.ini | 3 +- ...ation-timing-fetch.tentative.window.js.ini | 3 +- ...navigation-failure.tentative.window.js.ini | 3 +- ...iming-not-bfcached.tentative.window.js.ini | 3 +- ...edirect-on-history.tentative.window.js.ini | 3 +- ...tion-timing-reload.tentative.window.js.ini | 3 +- ...ame-origin-bfcache.tentative.window.js.ini | 3 +- tests/wpt/meta/streams/__dir__.ini | 3 - .../wpt/meta/streams/piping/abort.any.js.ini | 1 - tests/wpt/meta/wasm/webapi/abort.any.js.ini | 38 -------- ...document-destroyed.tentative.window.js.ini | 2 +- ...et-connection-ccns.tentative.window.js.ini | 3 +- ...-closed-websocket-connection.window.js.ini | 3 +- ...et-connection-ccns.tentative.window.js.ini | 3 +- ...th-open-websocket-connection.window.js.ini | 3 +- tests/wpt/mozilla/meta/MANIFEST.json | 4 +- .../tests/mozilla/interfaces.https.html | 2 + .../tests/mozilla/interfaces.worker.js | 2 + 46 files changed, 58 insertions(+), 288 deletions(-) delete mode 100644 tests/wpt/meta/dom/abort/__dir__.ini delete mode 100644 tests/wpt/meta/dom/events/__dir__.ini delete mode 100644 tests/wpt/meta/dom/interface-objects.html.ini delete mode 100644 tests/wpt/meta/fetch/api/abort/__dir__.ini delete mode 100644 tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigateToNew.window.js.ini delete mode 100644 tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-same-document.window.js.ini delete mode 100644 tests/wpt/meta/html/browsers/browsing-the-web/unloading-documents/unload/unload-main-frame-cross-origin.window.js.ini delete mode 100644 tests/wpt/meta/html/browsers/browsing-the-web/unloading-documents/unload/unload-main-frame-same-origin.window.js.ini delete mode 100644 tests/wpt/meta/html/browsers/windows/auxiliary-browsing-contexts/no-proactive-swap-when-other-contexts-in-group.html.ini delete mode 100644 tests/wpt/meta/html/semantics/links/links-created-by-a-and-area-elements/rel-opener-prevents-browsing-context-group-change.tentative.html.ini delete mode 100644 tests/wpt/meta/streams/__dir__.ini delete mode 100644 tests/wpt/meta/wasm/webapi/abort.any.js.ini diff --git a/ports/servoshell/prefs.rs b/ports/servoshell/prefs.rs index fc161f816fe..a6cec82ed85 100644 --- a/ports/servoshell/prefs.rs +++ b/ports/servoshell/prefs.rs @@ -25,6 +25,7 @@ use url::Url; use crate::VERSION; pub(crate) static EXPERIMENTAL_PREFS: &[&str] = &[ + "dom_abort_controller_enabled", "dom_async_clipboard_enabled", "dom_fontface_enabled", "dom_intersection_observer_enabled", diff --git a/tests/wpt/meta/IndexedDB/back-forward-cache-open-connection.window.js.ini b/tests/wpt/meta/IndexedDB/back-forward-cache-open-connection.window.js.ini index b136de0f3ce..85e375d1a06 100644 --- a/tests/wpt/meta/IndexedDB/back-forward-cache-open-connection.window.js.ini +++ b/tests/wpt/meta/IndexedDB/back-forward-cache-open-connection.window.js.ini @@ -1,3 +1,4 @@ [back-forward-cache-open-connection.window.html] + expected: TIMEOUT [Testing BFCache support for page with open IndexedDB connection, and eviction behavior when receiving versionchange event.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/IndexedDB/back-forward-cache-open-transaction.window.js.ini b/tests/wpt/meta/IndexedDB/back-forward-cache-open-transaction.window.js.ini index 876745fd3ef..3f94a404757 100644 --- a/tests/wpt/meta/IndexedDB/back-forward-cache-open-transaction.window.js.ini +++ b/tests/wpt/meta/IndexedDB/back-forward-cache-open-transaction.window.js.ini @@ -1,3 +1,4 @@ [back-forward-cache-open-transaction.window.html] + expected: TIMEOUT [BFCache support test for page with open IndexedDB transaction] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/credential-management/credentialscontainer-get-basics.https.html.ini b/tests/wpt/meta/credential-management/credentialscontainer-get-basics.https.html.ini index f2359340b5c..7b15de60ebe 100644 --- a/tests/wpt/meta/credential-management/credentialscontainer-get-basics.https.html.ini +++ b/tests/wpt/meta/credential-management/credentialscontainer-get-basics.https.html.ini @@ -1,6 +1,4 @@ [credentialscontainer-get-basics.https.html] - [Calling navigator.credentials.get() without a valid matching interface.] - expected: FAIL [navigator.credentials.get() aborted with custom reason] expected: FAIL diff --git a/tests/wpt/meta/dom/abort/__dir__.ini b/tests/wpt/meta/dom/abort/__dir__.ini deleted file mode 100644 index e79af6880d5..00000000000 --- a/tests/wpt/meta/dom/abort/__dir__.ini +++ /dev/null @@ -1,3 +0,0 @@ -prefs: [ - "dom_abort_controller_enabled:true", -] diff --git a/tests/wpt/meta/dom/events/__dir__.ini b/tests/wpt/meta/dom/events/__dir__.ini deleted file mode 100644 index e79af6880d5..00000000000 --- a/tests/wpt/meta/dom/events/__dir__.ini +++ /dev/null @@ -1,3 +0,0 @@ -prefs: [ - "dom_abort_controller_enabled:true", -] diff --git a/tests/wpt/meta/dom/idlharness.any.js.ini b/tests/wpt/meta/dom/idlharness.any.js.ini index 7f4148ff111..d1f6b145c4b 100644 --- a/tests/wpt/meta/dom/idlharness.any.js.ini +++ b/tests/wpt/meta/dom/idlharness.any.js.ini @@ -5,114 +5,24 @@ expected: ERROR [idlharness.any.worker.html] - [AbortController interface: attribute signal] - expected: FAIL - [AbortController interface: operation abort()] expected: FAIL - [AbortController interface: new AbortController() must inherit property "signal" with the proper type] - expected: FAIL - [AbortController interface: new AbortController() must inherit property "abort()" with the proper type] expected: FAIL [AbortSignal interface: operation abort()] expected: FAIL - [AbortSignal must be primary interface of new AbortController().signal] - expected: FAIL - - [Stringification of new AbortController().signal] - expected: FAIL - [AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type] expected: FAIL - [AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type] - expected: FAIL - - [AbortSignal interface: new AbortController().signal must inherit property "onabort" with the proper type] - expected: FAIL - - [EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean))" with the proper type] - expected: FAIL - - [EventTarget interface: calling addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean))" with the proper type] - expected: FAIL - - [EventTarget interface: calling removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [EventTarget interface: new AbortController().signal must inherit property "dispatchEvent(Event)" with the proper type] - expected: FAIL - - [EventTarget interface: calling dispatchEvent(Event) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [AbortSignal interface: new AbortController().signal must inherit property "abort(optional any)" with the proper type] - expected: FAIL - - [AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [AbortSignal interface: new AbortController().signal must inherit property "reason" with the proper type] - expected: FAIL - - [AbortSignal interface: new AbortController().signal must inherit property "throwIfAborted()" with the proper type] - expected: FAIL - [AbortSignal interface: operation timeout(unsigned long long)] expected: FAIL - [AbortSignal interface: new AbortController().signal must inherit property "timeout(unsigned long long)" with the proper type] - expected: FAIL - [AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError] expected: FAIL - [AbortSignal interface: new AbortController().signal must inherit property "any(sequence)" with the proper type] - expected: FAIL - - [AbortSignal interface: calling any(sequence) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [AbortController interface: existence and properties of interface object] - expected: FAIL - - [AbortController interface object length] - expected: FAIL - - [AbortController interface object name] - expected: FAIL - - [AbortController interface: existence and properties of interface prototype object] - expected: FAIL - - [AbortController interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - - [AbortController interface: existence and properties of interface prototype object's @@unscopables property] - expected: FAIL - - [AbortController interface: operation abort(optional any)] - expected: FAIL - - [AbortController must be primary interface of new AbortController()] - expected: FAIL - - [Stringification of new AbortController()] - expected: FAIL - - [AbortController interface: new AbortController() must inherit property "abort(optional any)" with the proper type] - expected: FAIL - - [AbortController interface: calling abort(optional any) on new AbortController() with too few arguments must throw TypeError] - expected: FAIL - [idlharness.any.shadowrealm-in-window.html] expected: ERROR diff --git a/tests/wpt/meta/dom/idlharness.window.js.ini b/tests/wpt/meta/dom/idlharness.window.js.ini index c6cf1a5c3c0..3023f77d4e2 100644 --- a/tests/wpt/meta/dom/idlharness.window.js.ini +++ b/tests/wpt/meta/dom/idlharness.window.js.ini @@ -1,49 +1,13 @@ [idlharness.window.html?exclude=Node] - [AbortSignal must be primary interface of new AbortController().signal] - expected: FAIL - - [EventTarget interface: calling removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean))" with the proper type] - expected: FAIL - - [EventTarget interface: new AbortController().signal must inherit property "dispatchEvent(Event)" with the proper type] - expected: FAIL - - [EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean))" with the proper type] - expected: FAIL - [AbortController interface: operation abort()] expected: FAIL - [AbortController interface: attribute signal] - expected: FAIL - - [AbortController interface: new AbortController() must inherit property "signal" with the proper type] - expected: FAIL - [AbortController interface: new AbortController() must inherit property "abort()" with the proper type] expected: FAIL - [EventTarget interface: calling dispatchEvent(Event) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type] - expected: FAIL - - [EventTarget interface: calling addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [AbortSignal interface: new AbortController().signal must inherit property "onabort" with the proper type] - expected: FAIL - [NodeFilter interface: existence and properties of interface object] expected: FAIL - [Stringification of new AbortController().signal] - expected: FAIL - [XPathNSResolver interface: document.createNSResolver(document.body) must inherit property "lookupNamespaceURI(DOMString?)" with the proper type] expected: FAIL @@ -149,24 +113,9 @@ [XSLTProcessor interface: new XSLTProcessor() must inherit property "reset()" with the proper type] expected: FAIL - [AbortSignal interface: new AbortController().signal must inherit property "abort(optional any)" with the proper type] - expected: FAIL - - [AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - - [AbortSignal interface: new AbortController().signal must inherit property "reason" with the proper type] - expected: FAIL - - [AbortSignal interface: new AbortController().signal must inherit property "throwIfAborted()" with the proper type] - expected: FAIL - [AbortSignal interface: operation timeout(unsigned long long)] expected: FAIL - [AbortSignal interface: new AbortController().signal must inherit property "timeout(unsigned long long)" with the proper type] - expected: FAIL - [AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError] expected: FAIL @@ -194,12 +143,6 @@ [Element interface: element must inherit property "onfullscreenerror" with the proper type] expected: FAIL - [AbortSignal interface: new AbortController().signal must inherit property "any(sequence)" with the proper type] - expected: FAIL - - [AbortSignal interface: calling any(sequence) on new AbortController().signal with too few arguments must throw TypeError] - expected: FAIL - [Document interface: operation prepend((Node or TrustedScript or DOMString)...)] expected: FAIL @@ -254,39 +197,6 @@ [CharacterData interface: operation replaceWith((Node or TrustedScript or DOMString)...)] expected: FAIL - [AbortController interface: existence and properties of interface object] - expected: FAIL - - [AbortController interface object length] - expected: FAIL - - [AbortController interface object name] - expected: FAIL - - [AbortController interface: existence and properties of interface prototype object] - expected: FAIL - - [AbortController interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - - [AbortController interface: existence and properties of interface prototype object's @@unscopables property] - expected: FAIL - - [AbortController interface: operation abort(optional any)] - expected: FAIL - - [AbortController must be primary interface of new AbortController()] - expected: FAIL - - [Stringification of new AbortController()] - expected: FAIL - - [AbortController interface: new AbortController() must inherit property "abort(optional any)" with the proper type] - expected: FAIL - - [AbortController interface: calling abort(optional any) on new AbortController() with too few arguments must throw TypeError] - expected: FAIL - [Document interface: operation moveBefore(Node, Node?)] expected: FAIL diff --git a/tests/wpt/meta/dom/interface-objects.html.ini b/tests/wpt/meta/dom/interface-objects.html.ini deleted file mode 100644 index ddc761b4169..00000000000 --- a/tests/wpt/meta/dom/interface-objects.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[interface-objects.html] - [Should be able to delete AbortSignal.] - expected: FAIL - - [Should be able to delete AbortController.] - expected: FAIL diff --git a/tests/wpt/meta/fetch/api/abort/__dir__.ini b/tests/wpt/meta/fetch/api/abort/__dir__.ini deleted file mode 100644 index e79af6880d5..00000000000 --- a/tests/wpt/meta/fetch/api/abort/__dir__.ini +++ /dev/null @@ -1,3 +0,0 @@ -prefs: [ - "dom_abort_controller_enabled:true", -] diff --git a/tests/wpt/meta/fetch/fetch-later/quota/cross-origin-iframe/multiple-iframes.https.window.js.ini b/tests/wpt/meta/fetch/fetch-later/quota/cross-origin-iframe/multiple-iframes.https.window.js.ini index ce61a955303..c8880d493d8 100644 --- a/tests/wpt/meta/fetch/fetch-later/quota/cross-origin-iframe/multiple-iframes.https.window.js.ini +++ b/tests/wpt/meta/fetch/fetch-later/quota/cross-origin-iframe/multiple-iframes.https.window.js.ini @@ -1,3 +1,4 @@ [multiple-iframes.https.window.html] + expected: ERROR [fetchLater() request quota are delegated to cross-origin iframes and not shared, even if they are same origin.] expected: FAIL diff --git a/tests/wpt/meta/fetch/fetch-later/send-on-deactivate.https.window.js.ini b/tests/wpt/meta/fetch/fetch-later/send-on-deactivate.https.window.js.ini index 062e17eb388..0c8d6bf6b68 100644 --- a/tests/wpt/meta/fetch/fetch-later/send-on-deactivate.https.window.js.ini +++ b/tests/wpt/meta/fetch/fetch-later/send-on-deactivate.https.window.js.ini @@ -1,9 +1,10 @@ [send-on-deactivate.https.window.html] + expected: TIMEOUT [fetchLater() sends on page entering BFCache if BackgroundSync is off.] expected: FAIL [Call fetchLater() when BFCached with activateAfter=0 sends immediately.] - expected: FAIL + expected: TIMEOUT [fetchLater() sends on navigating away a page w/o BFCache.] expected: FAIL diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/broadcastchannel.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/broadcastchannel.window.js.ini index a3614616222..49befdc2509 100644 --- a/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/broadcastchannel.window.js.ini +++ b/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/broadcastchannel.window.js.ini @@ -1,3 +1,4 @@ [broadcastchannel.window.html] + expected: TIMEOUT [Ensure that open broadcastchannel does not block bfcache.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/dedicatedworker.tentative.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/dedicatedworker.tentative.window.js.ini index f91c1136cfb..4fd133f74fb 100644 --- a/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/dedicatedworker.tentative.window.js.ini +++ b/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/dedicatedworker.tentative.window.js.ini @@ -1,3 +1,4 @@ [dedicatedworker.tentative.window.html] + expected: TIMEOUT [BroadcastChannel messages dispatched to dedicated worker in bfcache should be queued.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/evict-on-message.tentative.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/evict-on-message.tentative.window.js.ini index 20511c16257..b99edf7908d 100644 --- a/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/evict-on-message.tentative.window.js.ini +++ b/tests/wpt/meta/html/browsers/browsing-the-web/back-forward-cache/broadcastchannel/evict-on-message.tentative.window.js.ini @@ -1,3 +1,4 @@ [evict-on-message.tentative.window.html] + expected: TIMEOUT [BroadcastChannel message while in bfcache should evict the entry.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/history-traversal/document-state.https.html.ini b/tests/wpt/meta/html/browsers/browsing-the-web/history-traversal/document-state.https.html.ini index 2f7885994ac..dbbf7b19da6 100644 --- a/tests/wpt/meta/html/browsers/browsing-the-web/history-traversal/document-state.https.html.ini +++ b/tests/wpt/meta/html/browsers/browsing-the-web/history-traversal/document-state.https.html.ini @@ -1,6 +1,7 @@ [document-state.https.html] + expected: TIMEOUT [A navigation's initiator origin and referrer are stored in the document state and used in the document repopulation case] - expected: FAIL + expected: TIMEOUT [A navigation's initiator origin and referrer are stored in the document state and used on location.reload()] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigateToNew.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigateToNew.window.js.ini deleted file mode 100644 index 998096a995b..00000000000 --- a/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigateToNew.window.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[navigateToNew.window.html] - [RemoteContextWrapper navigateToNew] - expected: FAIL diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-bfcache.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-bfcache.window.js.ini index c879ccacb05..b419ae85ffe 100644 --- a/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-bfcache.window.js.ini +++ b/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-bfcache.window.js.ini @@ -1,3 +1,4 @@ [navigation-bfcache.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-helpers.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-helpers.window.js.ini index c487fbea6f9..c6fb23dac85 100644 --- a/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-helpers.window.js.ini +++ b/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-helpers.window.js.ini @@ -1,3 +1,4 @@ [navigation-helpers.window.html] + expected: TIMEOUT [RemoteContextHelper navigation helpers] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-same-document.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-same-document.window.js.ini deleted file mode 100644 index 319da97d542..00000000000 --- a/tests/wpt/meta/html/browsers/browsing-the-web/remote-context-helper-tests/navigation-same-document.window.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[navigation-same-document.window.html] - [RemoteContextHelper navigation using BFCache] - expected: FAIL diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/unloading-documents/unload/unload-main-frame-cross-origin.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/unloading-documents/unload/unload-main-frame-cross-origin.window.js.ini deleted file mode 100644 index c5da400f937..00000000000 --- a/tests/wpt/meta/html/browsers/browsing-the-web/unloading-documents/unload/unload-main-frame-cross-origin.window.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[unload-main-frame-cross-origin.window.html] - [Unload runs in main frame when navigating cross-origin.] - expected: FAIL diff --git a/tests/wpt/meta/html/browsers/browsing-the-web/unloading-documents/unload/unload-main-frame-same-origin.window.js.ini b/tests/wpt/meta/html/browsers/browsing-the-web/unloading-documents/unload/unload-main-frame-same-origin.window.js.ini deleted file mode 100644 index b1fd74990dc..00000000000 --- a/tests/wpt/meta/html/browsers/browsing-the-web/unloading-documents/unload/unload-main-frame-same-origin.window.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[unload-main-frame-same-origin.window.html] - [Unload runs in main frame when navigating same-origin.] - expected: FAIL diff --git a/tests/wpt/meta/html/browsers/history/the-history-interface/history-state-after-bfcache.window.js.ini b/tests/wpt/meta/html/browsers/history/the-history-interface/history-state-after-bfcache.window.js.ini index 23780f8ffc7..ae1339be926 100644 --- a/tests/wpt/meta/html/browsers/history/the-history-interface/history-state-after-bfcache.window.js.ini +++ b/tests/wpt/meta/html/browsers/history/the-history-interface/history-state-after-bfcache.window.js.ini @@ -1,3 +1,4 @@ [history-state-after-bfcache.window.html] + expected: TIMEOUT [Navigating back to a bfcached page does not reset history.state] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/html/browsers/windows/auxiliary-browsing-contexts/no-proactive-swap-when-other-contexts-in-group.html.ini b/tests/wpt/meta/html/browsers/windows/auxiliary-browsing-contexts/no-proactive-swap-when-other-contexts-in-group.html.ini deleted file mode 100644 index 80e8c54e643..00000000000 --- a/tests/wpt/meta/html/browsers/windows/auxiliary-browsing-contexts/no-proactive-swap-when-other-contexts-in-group.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[no-proactive-swap-when-other-contexts-in-group.html] - [no proactive browsing context group change when other contexts in group] - expected: FAIL diff --git a/tests/wpt/meta/html/semantics/links/links-created-by-a-and-area-elements/rel-opener-prevents-browsing-context-group-change.tentative.html.ini b/tests/wpt/meta/html/semantics/links/links-created-by-a-and-area-elements/rel-opener-prevents-browsing-context-group-change.tentative.html.ini deleted file mode 100644 index 71138a2347a..00000000000 --- a/tests/wpt/meta/html/semantics/links/links-created-by-a-and-area-elements/rel-opener-prevents-browsing-context-group-change.tentative.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[rel-opener-prevents-browsing-context-group-change.tentative.html] - [rel=opener prevents browsing context group change] - expected: FAIL - - [opener window feature prevents browsing context group change] - expected: FAIL diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-attributes.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-attributes.tentative.window.js.ini index d1e2fdf757d..6b15e0cd684 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-attributes.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-attributes.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-attributes.tentative.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-bfcache-reasons-stay.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-bfcache-reasons-stay.tentative.window.js.ini index 092f09c6acc..30842333fdb 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-bfcache-reasons-stay.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-bfcache-reasons-stay.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-bfcache-reasons-stay.tentative.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-bfcache.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-bfcache.tentative.window.js.ini index f547a22caf3..873c9b7ef5b 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-bfcache.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-bfcache.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-bfcache.tentative.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-cross-origin-bfcache.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-cross-origin-bfcache.tentative.window.js.ini index 5bf9480fc38..09d3ff5a249 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-cross-origin-bfcache.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-cross-origin-bfcache.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-cross-origin-bfcache.tentative.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-fetch.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-fetch.tentative.window.js.ini index 876710cd31f..7793131cb27 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-fetch.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-fetch.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-fetch.tentative.window.html] + expected: TIMEOUT [Ensure that ongoing fetch upon entering bfcache blocks bfcache and recorded.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-navigation-failure.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-navigation-failure.tentative.window.js.ini index 2863298772f..2c7bae4f6b2 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-navigation-failure.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-navigation-failure.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-navigation-failure.tentative.window.html] + expected: TIMEOUT [Ensure that navigation failure blocks bfcache and gets recorded.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-not-bfcached.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-not-bfcached.tentative.window.js.ini index 4021b520a8e..55d58cc0f03 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-not-bfcached.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-not-bfcached.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-not-bfcached.tentative.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-redirect-on-history.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-redirect-on-history.tentative.window.js.ini index 08bdc7a2a4f..37f562e68cf 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-redirect-on-history.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-redirect-on-history.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-redirect-on-history.tentative.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-reload.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-reload.tentative.window.js.ini index 9548dd69ac9..3694a65e93d 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-reload.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-reload.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-reload.tentative.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-same-origin-bfcache.tentative.window.js.ini b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-same-origin-bfcache.tentative.window.js.ini index 223b2dcdeed..295066ea109 100644 --- a/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-same-origin-bfcache.tentative.window.js.ini +++ b/tests/wpt/meta/performance-timeline/not-restored-reasons/performance-navigation-timing-same-origin-bfcache.tentative.window.js.ini @@ -1,3 +1,4 @@ [performance-navigation-timing-same-origin-bfcache.tentative.window.html] + expected: TIMEOUT [RemoteContextHelper navigation using BFCache] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/streams/__dir__.ini b/tests/wpt/meta/streams/__dir__.ini deleted file mode 100644 index e79af6880d5..00000000000 --- a/tests/wpt/meta/streams/__dir__.ini +++ /dev/null @@ -1,3 +0,0 @@ -prefs: [ - "dom_abort_controller_enabled:true", -] diff --git a/tests/wpt/meta/streams/piping/abort.any.js.ini b/tests/wpt/meta/streams/piping/abort.any.js.ini index df3b62f79bd..4589362338c 100644 --- a/tests/wpt/meta/streams/piping/abort.any.js.ini +++ b/tests/wpt/meta/streams/piping/abort.any.js.ini @@ -1,4 +1,3 @@ -prefs: [dom_abort_controller_enabled:true] [abort.https.any.shadowrealm-in-serviceworker.html] expected: ERROR diff --git a/tests/wpt/meta/wasm/webapi/abort.any.js.ini b/tests/wpt/meta/wasm/webapi/abort.any.js.ini deleted file mode 100644 index 316a367c37c..00000000000 --- a/tests/wpt/meta/wasm/webapi/abort.any.js.ini +++ /dev/null @@ -1,38 +0,0 @@ -[abort.any.html] - [compileStreaming() on an already-aborted request should reject with AbortError] - expected: FAIL - - [compileStreaming() synchronously followed by abort should reject with AbortError] - expected: FAIL - - [instantiateStreaming() on an already-aborted request should reject with AbortError] - expected: FAIL - - [instantiateStreaming() synchronously followed by abort should reject with AbortError] - expected: FAIL - - [compileStreaming() asynchronously racing with abort should succeed or reject with AbortError] - expected: FAIL - - [instantiateStreaming() asynchronously racing with abort should succeed or reject with AbortError] - expected: FAIL - - -[abort.any.worker.html] - [compileStreaming() on an already-aborted request should reject with AbortError] - expected: FAIL - - [compileStreaming() synchronously followed by abort should reject with AbortError] - expected: FAIL - - [instantiateStreaming() on an already-aborted request should reject with AbortError] - expected: FAIL - - [instantiateStreaming() synchronously followed by abort should reject with AbortError] - expected: FAIL - - [compileStreaming() asynchronously racing with abort should succeed or reject with AbortError] - expected: FAIL - - [instantiateStreaming() asynchronously racing with abort should succeed or reject with AbortError] - expected: FAIL diff --git a/tests/wpt/meta/webmessaging/message-channels/close-event/document-destroyed.tentative.window.js.ini b/tests/wpt/meta/webmessaging/message-channels/close-event/document-destroyed.tentative.window.js.ini index 730f1a634dd..d8283da007b 100644 --- a/tests/wpt/meta/webmessaging/message-channels/close-event/document-destroyed.tentative.window.js.ini +++ b/tests/wpt/meta/webmessaging/message-channels/close-event/document-destroyed.tentative.window.js.ini @@ -1,5 +1,5 @@ [document-destroyed.tentative.window.html] - expected: ERROR + expected: TIMEOUT [The context is navigated to a new document and a close event is fired.] expected: TIMEOUT diff --git a/tests/wpt/meta/websockets/back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.js.ini b/tests/wpt/meta/websockets/back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.js.ini index 8c33d0c153f..d72062aa31c 100644 --- a/tests/wpt/meta/websockets/back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.js.ini +++ b/tests/wpt/meta/websockets/back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.js.ini @@ -1,3 +1,4 @@ [back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.html] + expected: TIMEOUT [Testing BFCache support for page with closed WebSocket connection and "Cache-Control: no-store" header.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/websockets/back-forward-cache-with-closed-websocket-connection.window.js.ini b/tests/wpt/meta/websockets/back-forward-cache-with-closed-websocket-connection.window.js.ini index 55462bf5691..51d0d8e40fc 100644 --- a/tests/wpt/meta/websockets/back-forward-cache-with-closed-websocket-connection.window.js.ini +++ b/tests/wpt/meta/websockets/back-forward-cache-with-closed-websocket-connection.window.js.ini @@ -1,3 +1,4 @@ [back-forward-cache-with-closed-websocket-connection.window.html] + expected: TIMEOUT [Testing BFCache support for page with closed WebSocket connection.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/websockets/back-forward-cache-with-open-websocket-connection-ccns.tentative.window.js.ini b/tests/wpt/meta/websockets/back-forward-cache-with-open-websocket-connection-ccns.tentative.window.js.ini index 55898fcbc73..f960509daad 100644 --- a/tests/wpt/meta/websockets/back-forward-cache-with-open-websocket-connection-ccns.tentative.window.js.ini +++ b/tests/wpt/meta/websockets/back-forward-cache-with-open-websocket-connection-ccns.tentative.window.js.ini @@ -1,3 +1,4 @@ [back-forward-cache-with-open-websocket-connection-ccns.tentative.window.html] + expected: TIMEOUT [Testing BFCache support for page with open WebSocket connection and "Cache-Control: no-store" header.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/meta/websockets/back-forward-cache-with-open-websocket-connection.window.js.ini b/tests/wpt/meta/websockets/back-forward-cache-with-open-websocket-connection.window.js.ini index 7b4e24160b9..e264ea40343 100644 --- a/tests/wpt/meta/websockets/back-forward-cache-with-open-websocket-connection.window.js.ini +++ b/tests/wpt/meta/websockets/back-forward-cache-with-open-websocket-connection.window.js.ini @@ -1,3 +1,4 @@ [back-forward-cache-with-open-websocket-connection.window.html] + expected: TIMEOUT [Testing BFCache support for page with open WebSocket connection.] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index faf104a959d..33e5963a547 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -13775,14 +13775,14 @@ ] ], "interfaces.https.html": [ - "1397b723a1cb001521ac1b2032c380f1e02cf1f0", + "8f56cc48648cc2aeced4c5cf081296b85a5ede43", [ null, {} ] ], "interfaces.worker.js": [ - "66f95241d5518a6b82725529775dc5613cbab1c0", + "8c0d87402f7675a6828343a18dec67c3cbe3a62a", [ "mozilla/interfaces.worker.html", {} diff --git a/tests/wpt/mozilla/tests/mozilla/interfaces.https.html b/tests/wpt/mozilla/tests/mozilla/interfaces.https.html index 1397b723a1c..8f56cc48648 100644 --- a/tests/wpt/mozilla/tests/mozilla/interfaces.https.html +++ b/tests/wpt/mozilla/tests/mozilla/interfaces.https.html @@ -11,6 +11,8 @@ // IMPORTANT: Do not change the list below without review from a DOM peer! test_interfaces([ + "AbortController", + "AbortSignal", "AbstractRange", "AnalyserNode", "AnimationEvent", diff --git a/tests/wpt/mozilla/tests/mozilla/interfaces.worker.js b/tests/wpt/mozilla/tests/mozilla/interfaces.worker.js index 66f95241d55..8c0d87402f7 100644 --- a/tests/wpt/mozilla/tests/mozilla/interfaces.worker.js +++ b/tests/wpt/mozilla/tests/mozilla/interfaces.worker.js @@ -7,6 +7,8 @@ importScripts("interfaces.js"); // IMPORTANT: Do not change the list below without review from a DOM peer! test_interfaces([ + "AbortController", + "AbortSignal", "Blob", "BroadcastChannel", "ByteLengthQueuingStrategy",