mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +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
|
// https://dom.spec.whatwg.org/#abortsignal
|
||||||
|
|
||||||
[Exposed=*]
|
[Exposed=*, Pref="dom_abort_controller_enabled"]
|
||||||
interface AbortSignal : EventTarget {
|
interface AbortSignal : EventTarget {
|
||||||
readonly attribute boolean aborted;
|
readonly attribute boolean aborted;
|
||||||
readonly attribute any reason;
|
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]
|
[AbortController interface: new AbortController() must inherit property "abort()" with the proper type]
|
||||||
expected: FAIL
|
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()]
|
[AbortSignal interface: operation abort()]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[AbortSignal interface: attribute aborted]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[AbortSignal interface: attribute onabort]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
[AbortSignal must be primary interface of new AbortController().signal]
|
[AbortSignal must be primary interface of new AbortController().signal]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -56,6 +80,12 @@
|
||||||
[AbortSignal interface: operation abort(optional any)]
|
[AbortSignal interface: operation abort(optional any)]
|
||||||
expected: FAIL
|
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]
|
[AbortSignal interface: new AbortController().signal must inherit property "abort(optional any)" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
[interface-objects.html]
|
[interface-objects.html]
|
||||||
|
[Should be able to delete AbortSignal.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
[Should be able to delete AbortController.]
|
[Should be able to delete AbortController.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[abort.any.html]
|
[abort.any.html]
|
||||||
|
expected: ERROR
|
||||||
[a signal argument 'null' should cause pipeTo() to reject]
|
[a signal argument 'null' should cause pipeTo() to reject]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -118,6 +119,7 @@
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[abort.any.worker.html]
|
[abort.any.worker.html]
|
||||||
|
expected: ERROR
|
||||||
[a signal argument 'null' should cause pipeTo() to reject]
|
[a signal argument 'null' should cause pipeTo() to reject]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -5,28 +5,26 @@
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[pipe-through.any.worker.html]
|
[pipe-through.any.worker.html]
|
||||||
|
expected: ERROR
|
||||||
[pipeThrough should accept a real AbortSignal]
|
[pipeThrough should accept a real AbortSignal]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[pipeThrough should not care if readable is locked]
|
[invalid values of signal should throw; specifically 'null']
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[preventCancel should work]
|
[invalid values of signal should throw; specifically '0']
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[preventClose should work]
|
[invalid values of signal should throw; specifically 'NaN']
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[preventAbort should work]
|
[invalid values of signal should throw; specifically 'true']
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[pipeThrough() should not throw if option is null]
|
[invalid values of signal should throw; specifically 'AbortSignal']
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[pipeThrough() should not throw if signal is undefined]
|
[invalid values of signal should throw; specifically '[object AbortSignal\]']
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[pipeThrough() should throw if readable/writable getters throw]
|
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
@ -49,6 +47,7 @@
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[pipe-through.any.html]
|
[pipe-through.any.html]
|
||||||
|
expected: ERROR
|
||||||
[pipeThrough should accept a real AbortSignal]
|
[pipeThrough should accept a real AbortSignal]
|
||||||
expected: FAIL
|
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": [
|
"interfaces.https.html": [
|
||||||
"0689f4c2305d808471fa3f530595d407e92fda30",
|
"eee8c799727b91e00b512795756b693a5f121f86",
|
||||||
[
|
[
|
||||||
null,
|
null,
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"interfaces.worker.js": [
|
"interfaces.worker.js": [
|
||||||
"9e4c15823f1b19c70d9a64bde0074dfe4ba63f29",
|
"e86f34f261442aeaa7074c525fb4b1206219769d",
|
||||||
[
|
[
|
||||||
"mozilla/interfaces.worker.html",
|
"mozilla/interfaces.worker.html",
|
||||||
{}
|
{}
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
// IMPORTANT: Do not change the list below without review from a DOM peer!
|
// IMPORTANT: Do not change the list below without review from a DOM peer!
|
||||||
test_interfaces([
|
test_interfaces([
|
||||||
"AbortController",
|
|
||||||
"AbortSignal",
|
|
||||||
"AbstractRange",
|
"AbstractRange",
|
||||||
"AnalyserNode",
|
"AnalyserNode",
|
||||||
"AnimationEvent",
|
"AnimationEvent",
|
||||||
|
|
|
@ -7,8 +7,6 @@ importScripts("interfaces.js");
|
||||||
|
|
||||||
// IMPORTANT: Do not change the list below without review from a DOM peer!
|
// IMPORTANT: Do not change the list below without review from a DOM peer!
|
||||||
test_interfaces([
|
test_interfaces([
|
||||||
"AbortController",
|
|
||||||
"AbortSignal",
|
|
||||||
"Blob",
|
"Blob",
|
||||||
"BroadcastChannel",
|
"BroadcastChannel",
|
||||||
"ByteLengthQueuingStrategy",
|
"ByteLengthQueuingStrategy",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue