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,9 +1,10 @@
[send-on-deactivate.tentative.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