remove abort signal and controller interfaces, updates test expectations

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
This commit is contained in:
gterzian 2025-05-23 17:41:21 +08:00
parent 3ddfde5562
commit 5ff62b61aa
No known key found for this signature in database
GPG key ID: E290318CF2FC84D3
8 changed files with 46 additions and 16 deletions

View file

@ -4,7 +4,7 @@
// https://dom.spec.whatwg.org/#abortsignal
[Exposed=*]
[Exposed=*, Pref="dom_abort_controller_enabled"]
interface AbortSignal : EventTarget {
readonly attribute boolean aborted;
readonly attribute any reason;

View file

@ -17,9 +17,33 @@
[AbortController interface: new AbortController() must inherit property "abort()" with the proper type]
expected: FAIL
[AbortSignal interface: existence and properties of interface object]
expected: FAIL
[AbortSignal interface object length]
expected: FAIL
[AbortSignal interface object name]
expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object]
expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[AbortSignal interface: operation abort()]
expected: FAIL
[AbortSignal interface: attribute aborted]
expected: FAIL
[AbortSignal interface: attribute onabort]
expected: FAIL
[AbortSignal must be primary interface of new AbortController().signal]
expected: FAIL
@ -56,6 +80,12 @@
[AbortSignal interface: operation abort(optional any)]
expected: FAIL
[AbortSignal interface: attribute reason]
expected: FAIL
[AbortSignal interface: operation throwIfAborted()]
expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "abort(optional any)" with the proper type]
expected: FAIL

View file

@ -1,3 +1,6 @@
[interface-objects.html]
[Should be able to delete AbortSignal.]
expected: FAIL
[Should be able to delete AbortController.]
expected: FAIL

View file

@ -5,6 +5,7 @@
expected: ERROR
[abort.any.html]
expected: ERROR
[a signal argument 'null' should cause pipeTo() to reject]
expected: FAIL
@ -118,6 +119,7 @@
expected: ERROR
[abort.any.worker.html]
expected: ERROR
[a signal argument 'null' should cause pipeTo() to reject]
expected: FAIL

View file

@ -5,28 +5,26 @@
expected: ERROR
[pipe-through.any.worker.html]
expected: ERROR
[pipeThrough should accept a real AbortSignal]
expected: FAIL
[pipeThrough should not care if readable is locked]
[invalid values of signal should throw; specifically 'null']
expected: FAIL
[preventCancel should work]
[invalid values of signal should throw; specifically '0']
expected: FAIL
[preventClose should work]
[invalid values of signal should throw; specifically 'NaN']
expected: FAIL
[preventAbort should work]
[invalid values of signal should throw; specifically 'true']
expected: FAIL
[pipeThrough() should not throw if option is null]
[invalid values of signal should throw; specifically 'AbortSignal']
expected: FAIL
[pipeThrough() should not throw if signal is undefined]
expected: FAIL
[pipeThrough() should throw if readable/writable getters throw]
[invalid values of signal should throw; specifically '[object AbortSignal\]']
expected: FAIL
@ -49,6 +47,7 @@
expected: ERROR
[pipe-through.any.html]
expected: ERROR
[pipeThrough should accept a real AbortSignal]
expected: FAIL

View file

@ -13582,14 +13582,14 @@
]
],
"interfaces.https.html": [
"0689f4c2305d808471fa3f530595d407e92fda30",
"eee8c799727b91e00b512795756b693a5f121f86",
[
null,
{}
]
],
"interfaces.worker.js": [
"9e4c15823f1b19c70d9a64bde0074dfe4ba63f29",
"e86f34f261442aeaa7074c525fb4b1206219769d",
[
"mozilla/interfaces.worker.html",
{}

View file

@ -11,8 +11,6 @@
// IMPORTANT: Do not change the list below without review from a DOM peer!
test_interfaces([
"AbortController",
"AbortSignal",
"AbstractRange",
"AnalyserNode",
"AnimationEvent",

View file

@ -7,8 +7,6 @@ importScripts("interfaces.js");
// IMPORTANT: Do not change the list below without review from a DOM peer!
test_interfaces([
"AbortController",
"AbortSignal",
"Blob",
"BroadcastChannel",
"ByteLengthQueuingStrategy",