Enable dom_abort_controller_enabled for AbortController test subdirectory (#38749)

Since we don't enable the preference as part of
`--enable-experimental-web-platform-features` yet, we don't run any
automated tests for the AbortController feature. This change means that
we at least explicitly test the interface.

Testing: Just enabling new tests.
Part of: https://github.com/servo/servo/issues/34866

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-08-18 03:25:04 -04:00 committed by GitHub
parent 2e6219b52d
commit 27dededa65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 84 additions and 68 deletions

View file

@ -1,28 +1,4 @@
[event.any.html]
[AbortController abort() should fire event synchronously]
expected: FAIL
[controller.abort() should do nothing the second time it is called]
expected: FAIL
[event handler should not be called if added after controller.abort()]
expected: FAIL
[the abort event should have the right properties]
expected: FAIL
[AbortController abort(reason) should set signal.reason]
expected: FAIL
[aborting AbortController without reason creates an "AbortError" DOMException]
expected: FAIL
[AbortController abort(undefined) creates an "AbortError" DOMException]
expected: FAIL
[AbortController abort(null) should set signal.reason]
expected: FAIL
[static aborting signal should have right properties]
expected: FAIL
@ -35,44 +11,11 @@
[throwIfAborted() should throw primitive abort.reason if signal aborted]
expected: FAIL
[throwIfAborted() should not throw if signal not aborted]
expected: FAIL
[AbortSignal.reason returns the same DOMException]
expected: FAIL
[AbortController.signal.reason returns the same DOMException]
expected: FAIL
[controller.signal should always return the same object]
expected: FAIL
[event.any.worker.html]
[AbortController abort() should fire event synchronously]
expected: FAIL
[controller.abort() should do nothing the second time it is called]
expected: FAIL
[event handler should not be called if added after controller.abort()]
expected: FAIL
[the abort event should have the right properties]
expected: FAIL
[AbortController abort(reason) should set signal.reason]
expected: FAIL
[aborting AbortController without reason creates an "AbortError" DOMException]
expected: FAIL
[AbortController abort(undefined) creates an "AbortError" DOMException]
expected: FAIL
[AbortController abort(null) should set signal.reason]
expected: FAIL
[static aborting signal should have right properties]
expected: FAIL
@ -85,18 +28,9 @@
[throwIfAborted() should throw primitive abort.reason if signal aborted]
expected: FAIL
[throwIfAborted() should not throw if signal not aborted]
expected: FAIL
[AbortSignal.reason returns the same DOMException]
expected: FAIL
[AbortController.signal.reason returns the same DOMException]
expected: FAIL
[controller.signal should always return the same object]
expected: FAIL
[event.any.shadowrealm.html]
expected: TIMEOUT