script: implement AbortController (#31361)

* Implement AbortController

Signed-off-by: syvb <me@iter.ca>

* Update WPT tests

Signed-off-by: syvb <me@iter.ca>

* Address review comments

* Fix duplicate import generation

* Update WPT test expectations

* Change expectation to FAIL for flaky test

---------

Signed-off-by: syvb <me@iter.ca>
This commit is contained in:
Smitty 2024-05-04 11:00:01 -04:00 committed by GitHub
parent 383607d01e
commit 7fce850cff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
88 changed files with 522 additions and 1194 deletions

View file

@ -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

View file

@ -0,0 +1,6 @@
[empty-iframe-load-event.html]
[Check execution order from nested timeout]
expected: FAIL
[Check execution order on load handler]
expected: FAIL

View file

@ -8,7 +8,7 @@
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='about:blank#foo']
expected: FAIL
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='about:blank']
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='']
expected: FAIL
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='']

View file

@ -1,3 +0,0 @@
[navigateToNew.window.html]
[RemoteContextWrapper navigateToNew]
expected: FAIL

View file

@ -1,3 +1,4 @@
[navigation-bfcache.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache]
expected: FAIL
expected: TIMEOUT

View file

@ -1,3 +1,4 @@
[navigation-helpers.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation helpers]
expected: FAIL
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[navigation-same-document.window.html]
[RemoteContextHelper navigation using BFCache]
expected: FAIL

View file

@ -1,3 +0,0 @@
[unload-main-frame-cross-origin.window.html]
[Unload runs in main frame when navigating cross-origin.]
expected: FAIL

View file

@ -1,3 +0,0 @@
[unload-main-frame-same-origin.window.html]
[Unload runs in main frame when navigating same-origin.]
expected: FAIL

View file

@ -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