mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
remove abort signal and controller interfaces, updates test expectations
Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
This commit is contained in:
parent
3ddfde5562
commit
5ff62b61aa
8 changed files with 46 additions and 16 deletions
|
@ -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;
|
||||
|
|
30
tests/wpt/meta/dom/idlharness.any.js.ini
vendored
30
tests/wpt/meta/dom/idlharness.any.js.ini
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
[interface-objects.html]
|
||||
[Should be able to delete AbortSignal.]
|
||||
expected: FAIL
|
||||
|
||||
[Should be able to delete AbortController.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
4
tests/wpt/mozilla/meta/MANIFEST.json
vendored
4
tests/wpt/mozilla/meta/MANIFEST.json
vendored
|
@ -13582,14 +13582,14 @@
|
|||
]
|
||||
],
|
||||
"interfaces.https.html": [
|
||||
"0689f4c2305d808471fa3f530595d407e92fda30",
|
||||
"eee8c799727b91e00b512795756b693a5f121f86",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"interfaces.worker.js": [
|
||||
"9e4c15823f1b19c70d9a64bde0074dfe4ba63f29",
|
||||
"e86f34f261442aeaa7074c525fb4b1206219769d",
|
||||
[
|
||||
"mozilla/interfaces.worker.html",
|
||||
{}
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
|
||||
// IMPORTANT: Do not change the list below without review from a DOM peer!
|
||||
test_interfaces([
|
||||
"AbortController",
|
||||
"AbortSignal",
|
||||
"AbstractRange",
|
||||
"AnalyserNode",
|
||||
"AnimationEvent",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue