Revert "script: implement AbortController (#31361)" (#32243)

This reverts commit 7fce850cff.
This commit is contained in:
Samson 2024-05-07 08:23:14 +02:00 committed by GitHub
parent 45f2433d76
commit 8bc49299c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
86 changed files with 1193 additions and 517 deletions

View file

@ -1,59 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use dom_struct::dom_struct;
use js::jsapi::Value;
use js::rust::{Handle, HandleObject};
use crate::dom::abortsignal::AbortSignal;
use crate::dom::bindings::codegen::Bindings::AbortControllerBinding::AbortControllerMethods;
use crate::dom::bindings::reflector::{reflect_dom_object_with_proto, Reflector};
use crate::dom::bindings::root::{Dom, DomRoot};
use crate::dom::globalscope::GlobalScope;
use crate::script_runtime::JSContext;
#[dom_struct]
pub struct AbortController {
reflector_: Reflector,
signal: Dom<AbortSignal>,
}
impl AbortController {
pub fn new_inherited(signal: &AbortSignal) -> AbortController {
AbortController {
reflector_: Reflector::new(),
signal: Dom::from_ref(signal),
}
}
fn new_with_proto(
global: &GlobalScope,
proto: Option<HandleObject>,
) -> DomRoot<AbortController> {
reflect_dom_object_with_proto(
Box::new(AbortController::new_inherited(&AbortSignal::new(global))),
global,
proto,
)
}
#[allow(non_snake_case)]
pub fn Constructor(
global: &GlobalScope,
proto: Option<HandleObject>,
) -> DomRoot<AbortController> {
AbortController::new_with_proto(global, proto)
}
}
impl AbortControllerMethods for AbortController {
/// <https://dom.spec.whatwg.org/#dom-abortcontroller-signal>
fn Signal(&self) -> DomRoot<AbortSignal> {
DomRoot::from_ref(&self.signal)
}
/// <https://dom.spec.whatwg.org/#dom-abortcontroller-abort>
fn Abort(&self, _cx: JSContext, reason: Handle<'_, Value>) {
self.signal.signal_abort(reason);
}
}

View file

@ -1,139 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use std::rc::Rc;
use dom_struct::dom_struct;
use js::conversions::ToJSValConvertible;
use js::jsapi::{ExceptionStackBehavior, Heap, JS_IsExceptionPending};
use js::jsval::{JSVal, UndefinedValue};
use js::rust::wrappers::JS_SetPendingException;
use js::rust::HandleValue;
use crate::dom::bindings::cell::DomRefCell;
use crate::dom::bindings::codegen::Bindings::AbortSignalBinding::AbortSignalMethods;
use crate::dom::bindings::codegen::Bindings::EventListenerBinding::EventListener;
use crate::dom::bindings::codegen::Bindings::EventTargetBinding::EventListenerOptions;
use crate::dom::bindings::inheritance::Castable;
use crate::dom::bindings::reflector::{reflect_dom_object, DomObject};
use crate::dom::bindings::root::DomRoot;
use crate::dom::bindings::str::DOMString;
use crate::dom::domexception::DOMErrorName;
use crate::dom::event::{Event, EventBubbles, EventCancelable};
use crate::dom::eventtarget::EventTarget;
use crate::dom::globalscope::GlobalScope;
use crate::dom::types::DOMException;
use crate::script_runtime::JSContext;
#[derive(JSTraceable, MallocSizeOf)]
pub enum AbortAlgorithm {
RemoveEventListener(
DomRoot<EventTarget>,
DOMString,
#[ignore_malloc_size_of = "Rc"] Rc<EventListener>,
#[ignore_malloc_size_of = "generated"] EventListenerOptions,
),
}
impl AbortAlgorithm {
fn exec(self) {
match self {
Self::RemoveEventListener(target, ty, listener, options) => {
target.remove_event_listener(ty, Some(listener), options)
},
}
}
}
#[dom_struct]
pub struct AbortSignal {
event_target: EventTarget,
#[ignore_malloc_size_of = "Defined in rust-mozjs"]
reason: Heap<JSVal>,
abort_algorithms: DomRefCell<Vec<AbortAlgorithm>>,
}
impl AbortSignal {
pub fn new_inherited() -> Self {
Self {
event_target: EventTarget::new_inherited(),
reason: Heap::default(),
abort_algorithms: DomRefCell::default(),
}
}
pub fn new(global: &GlobalScope) -> DomRoot<Self> {
reflect_dom_object(Box::new(Self::new_inherited()), global)
}
/// <https://dom.spec.whatwg.org/#abortsignal-add>
pub fn add_abort_algorithm(&self, alg: AbortAlgorithm) {
if !self.Aborted() {
self.abort_algorithms.borrow_mut().push(alg);
}
}
/// <https://dom.spec.whatwg.org/#abortsignal-signal-abort>
#[allow(unsafe_code)]
pub fn signal_abort(&self, reason: HandleValue) {
// 1. If signal is aborted, then return.
if self.Aborted() {
return;
}
// 2. Set signals abort reason to reason if it is given; otherwise to a new "AbortError" DOMException.
let cx = *GlobalScope::get_cx();
rooted!(in(cx) let mut new_reason = UndefinedValue());
let reason = if reason.is_undefined() {
let exception = DOMException::new(&self.global(), DOMErrorName::AbortError);
unsafe {
exception.to_jsval(cx, new_reason.handle_mut());
};
new_reason.handle()
} else {
reason
};
self.reason.set(reason.get());
// 3. For each algorithm of signals abort algorithms: run algorithm.
// 4. Empty signals abort algorithms.
for algorithm in self.abort_algorithms.borrow_mut().drain(..) {
algorithm.exec();
}
// 5. Fire an event named abort at signal.
let event = Event::new(
&self.global(),
atom!("abort"),
EventBubbles::DoesNotBubble,
EventCancelable::Cancelable,
);
event.fire(self.upcast());
// 6. For each dependentSignal of signals dependent signals,
// signal abort on dependentSignal with signals abort reason.
// TODO
}
}
impl AbortSignalMethods for AbortSignal {
// https://dom.spec.whatwg.org/#dom-abortsignal-onabort
event_handler!(Abort, GetOnabort, SetOnabort);
/// <https://dom.spec.whatwg.org/#dom-abortsignal-aborted>
fn Aborted(&self) -> bool {
!self.reason.get().is_undefined()
}
/// <https://dom.spec.whatwg.org/#dom-abortsignal-reason>
fn Reason(&self, _cx: JSContext) -> JSVal {
self.reason.get()
}
#[allow(unsafe_code)]
/// <https://dom.spec.whatwg.org/#dom-abortsignal-throwifaborted>
fn ThrowIfAborted(&self) {
let reason = self.reason.get();
if !reason.is_undefined() {
let cx = *GlobalScope::get_cx();
unsafe {
assert!(!JS_IsExceptionPending(cx));
rooted!(in(cx) let mut thrown = UndefinedValue());
reason.to_jsval(cx, thrown.handle_mut());
JS_SetPendingException(cx, thrown.handle(), ExceptionStackBehavior::Capture);
}
}
}
}

View file

@ -2167,8 +2167,7 @@ class CGImports(CGWrapper):
""" """
Generates the appropriate import/use statements. Generates the appropriate import/use statements.
""" """
def __init__(self, child, descriptors, callbacks, dictionaries, enums, typedefs, imports, config, def __init__(self, child, descriptors, callbacks, dictionaries, enums, typedefs, imports, config):
current_name=None):
""" """
Adds a set of imports. Adds a set of imports.
""" """
@ -2270,7 +2269,6 @@ class CGImports(CGWrapper):
parentName = descriptor.getParentName() parentName = descriptor.getParentName()
while parentName: while parentName:
descriptor = descriptorProvider.getDescriptor(parentName) descriptor = descriptorProvider.getDescriptor(parentName)
if current_name != descriptor.ifaceName:
extras += [descriptor.path, descriptor.bindingPath] extras += [descriptor.path, descriptor.bindingPath]
parentName = descriptor.getParentName() parentName = descriptor.getParentName()
elif t.isType() and t.isRecord(): elif t.isType() and t.isRecord():
@ -6892,7 +6890,7 @@ class CGBindingRoot(CGThing):
DomRoot codegen class for binding generation. Instantiate the class, and call DomRoot codegen class for binding generation. Instantiate the class, and call
declare or define to generate header or cpp code (respectively). declare or define to generate header or cpp code (respectively).
""" """
def __init__(self, config, prefix, webIDLFile, name): def __init__(self, config, prefix, webIDLFile):
descriptors = config.getDescriptors(webIDLFile=webIDLFile, descriptors = config.getDescriptors(webIDLFile=webIDLFile,
hasInterfaceObject=True) hasInterfaceObject=True)
# We also want descriptors that have an interface prototype object # We also want descriptors that have an interface prototype object
@ -6960,7 +6958,7 @@ class CGBindingRoot(CGThing):
# These are the global imports (outside of the generated module) # These are the global imports (outside of the generated module)
curr = CGImports(curr, descriptors=callbackDescriptors, callbacks=mainCallbacks, curr = CGImports(curr, descriptors=callbackDescriptors, callbacks=mainCallbacks,
dictionaries=dictionaries, enums=enums, typedefs=typedefs, dictionaries=dictionaries, enums=enums, typedefs=typedefs,
imports=['crate::dom::bindings::import::base::*'], config=config, current_name=name) imports=['crate::dom::bindings::import::base::*'], config=config)
# Add the auto-generated comment. # Add the auto-generated comment.
curr = CGWrapper(curr, pre=AUTOGENERATED_WARNING_COMMENT + ALLOWED_WARNINGS) curr = CGWrapper(curr, pre=AUTOGENERATED_WARNING_COMMENT + ALLOWED_WARNINGS)

View file

@ -232,7 +232,6 @@ class Descriptor(DescriptorProvider):
self.register = desc.get('register', True) self.register = desc.get('register', True)
self.path = desc.get('path', pathDefault) self.path = desc.get('path', pathDefault)
self.inRealmMethods = [name for name in desc.get('inRealms', [])] self.inRealmMethods = [name for name in desc.get('inRealms', [])]
self.ifaceName = ifaceName
self.bindingPath = f"crate::dom::bindings::codegen::Bindings::{ifaceName}Binding::{ifaceName}_Binding" self.bindingPath = f"crate::dom::bindings::codegen::Bindings::{ifaceName}Binding::{ifaceName}_Binding"
self.outerObjectHook = desc.get('outerObjectHook', 'None') self.outerObjectHook = desc.get('outerObjectHook', 'None')
self.proxy = False self.proxy = False

View file

@ -52,9 +52,8 @@ def main():
for webidl in webidls: for webidl in webidls:
filename = os.path.join(webidls_dir, webidl) filename = os.path.join(webidls_dir, webidl)
name = webidl[:-len(".webidl")] prefix = "Bindings/%sBinding" % webidl[:-len(".webidl")]
prefix = "Bindings/%sBinding" % name module = CGBindingRoot(config, prefix, filename).define()
module = CGBindingRoot(config, prefix, filename, name).define()
if module: if module:
with open(os.path.join(out_dir, prefix + ".rs"), "wb") as f: with open(os.path.join(out_dir, prefix + ".rs"), "wb") as f:
f.write(module.encode("utf-8")) f.write(module.encode("utf-8"))

View file

@ -23,7 +23,6 @@ use servo_atoms::Atom;
use servo_url::ServoUrl; use servo_url::ServoUrl;
use super::bindings::trace::HashMapTracedValues; use super::bindings::trace::HashMapTracedValues;
use crate::dom::abortsignal::AbortAlgorithm;
use crate::dom::beforeunloadevent::BeforeUnloadEvent; use crate::dom::beforeunloadevent::BeforeUnloadEvent;
use crate::dom::bindings::callback::{CallbackContainer, CallbackFunction, ExceptionHandling}; use crate::dom::bindings::callback::{CallbackContainer, CallbackFunction, ExceptionHandling};
use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::cell::DomRefCell;
@ -705,7 +704,7 @@ impl EventTarget {
None => return, None => return,
}; };
let mut handlers = self.handlers.borrow_mut(); let mut handlers = self.handlers.borrow_mut();
let entry = match handlers.entry(Atom::from(ty.clone())) { let entry = match handlers.entry(Atom::from(ty)) {
Occupied(entry) => entry.into_mut(), Occupied(entry) => entry.into_mut(),
Vacant(entry) => entry.insert(EventListeners(vec![])), Vacant(entry) => entry.insert(EventListeners(vec![])),
}; };
@ -717,20 +716,12 @@ impl EventTarget {
}; };
let new_entry = EventListenerEntry { let new_entry = EventListenerEntry {
phase, phase,
listener: EventListenerType::Additive(Rc::clone(&listener)), listener: EventListenerType::Additive(listener),
once: options.once, once: options.once,
}; };
if !entry.contains(&new_entry) { if !entry.contains(&new_entry) {
entry.push(new_entry); entry.push(new_entry);
} }
if let Some(signal) = options.signal {
signal.add_abort_algorithm(AbortAlgorithm::RemoveEventListener(
DomRoot::from_ref(&self),
ty,
listener,
options.parent,
));
};
} }
// https://dom.spec.whatwg.org/#dom-eventtarget-removeeventlistener // https://dom.spec.whatwg.org/#dom-eventtarget-removeeventlistener
@ -810,7 +801,6 @@ impl From<AddEventListenerOptionsOrBoolean> for AddEventListenerOptions {
AddEventListenerOptionsOrBoolean::Boolean(capture) => Self { AddEventListenerOptionsOrBoolean::Boolean(capture) => Self {
parent: EventListenerOptions { capture }, parent: EventListenerOptions { capture },
once: false, once: false,
signal: None,
}, },
} }
} }

View file

@ -100,7 +100,6 @@ impl MediaQueryListMethods for MediaQueryList {
AddEventListenerOptions { AddEventListenerOptions {
parent: EventListenerOptions { capture: false }, parent: EventListenerOptions { capture: false },
once: false, once: false,
signal: None,
}, },
); );
} }

View file

@ -209,8 +209,6 @@ pub mod types {
include!(concat!(env!("OUT_DIR"), "/InterfaceTypes.rs")); include!(concat!(env!("OUT_DIR"), "/InterfaceTypes.rs"));
} }
pub mod abortcontroller;
pub mod abortsignal;
pub mod abstractrange; pub mod abstractrange;
pub mod abstractworker; pub mod abstractworker;
pub mod abstractworkerglobalscope; pub mod abstractworkerglobalscope;

View file

@ -1,13 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://dom.spec.whatwg.org/#interface-abortcontroller
[Exposed=*]
interface AbortController {
constructor();
[SameObject] readonly attribute AbortSignal signal;
undefined abort(optional any reason);
};

View file

@ -1,17 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://dom.spec.whatwg.org/#interface-AbortSignal
[Exposed=*]
interface AbortSignal : EventTarget {
// [NewObject] static AbortSignal abort(optional any reason);
// [Exposed=(Window,Worker), NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds);
// [NewObject] static AbortSignal _any(sequence<AbortSignal> signals);
readonly attribute boolean aborted;
readonly attribute any reason;
undefined throwIfAborted();
attribute EventHandler onabort;
};

View file

@ -31,5 +31,4 @@ dictionary EventListenerOptions {
dictionary AddEventListenerOptions : EventListenerOptions { dictionary AddEventListenerOptions : EventListenerOptions {
// boolean passive = false; // boolean passive = false;
boolean once = false; boolean once = false;
AbortSignal signal;
}; };

View file

@ -1,62 +1,5 @@
[abort-signal-any.any.worker.html] [abort-signal-any.any.worker.html]
[AbortSignal.any() works with an empty array of signals] expected: ERROR
expected: FAIL
[AbortSignal.any() follows a single signal (using AbortController)]
expected: FAIL
[AbortSignal.any() follows multiple signals (using AbortController)]
expected: FAIL
[AbortSignal.any() returns an aborted signal if passed an aborted signal (using AbortController)]
expected: FAIL
[AbortSignal.any() can be passed the same signal more than once (using AbortController)]
expected: FAIL
[AbortSignal.any() uses the first instance of a duplicate signal (using AbortController)]
expected: FAIL
[AbortSignal.any() signals are composable (using AbortController)]
expected: FAIL
[AbortSignal.any() works with signals returned by AbortSignal.timeout() (using AbortController)]
expected: FAIL
[AbortSignal.any() works with intermediate signals (using AbortController)]
expected: FAIL
[Abort events for AbortSignal.any() signals fire in the right order (using AbortController)]
expected: FAIL
[abort-signal-any.any.html] [abort-signal-any.any.html]
[AbortSignal.any() works with an empty array of signals] expected: ERROR
expected: FAIL
[AbortSignal.any() follows a single signal (using AbortController)]
expected: FAIL
[AbortSignal.any() follows multiple signals (using AbortController)]
expected: FAIL
[AbortSignal.any() returns an aborted signal if passed an aborted signal (using AbortController)]
expected: FAIL
[AbortSignal.any() can be passed the same signal more than once (using AbortController)]
expected: FAIL
[AbortSignal.any() uses the first instance of a duplicate signal (using AbortController)]
expected: FAIL
[AbortSignal.any() signals are composable (using AbortController)]
expected: FAIL
[AbortSignal.any() works with signals returned by AbortSignal.timeout() (using AbortController)]
expected: FAIL
[AbortSignal.any() works with intermediate signals (using AbortController)]
expected: FAIL
[Abort events for AbortSignal.any() signals fire in the right order (using AbortController)]
expected: FAIL

View file

@ -3,9 +3,33 @@
[AbortController() basics] [AbortController() basics]
expected: FAIL expected: FAIL
[AbortController abort() should fire event synchronously]
expected: FAIL
[controller.signal should always return the same object]
expected: FAIL
[controller.abort() should do nothing the second time it is called] [controller.abort() should do nothing the second time it is called]
expected: FAIL 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] [static aborting signal should have right properties]
expected: FAIL expected: FAIL
@ -18,18 +42,48 @@
[throwIfAborted() should throw primitive abort.reason if signal aborted] [throwIfAborted() should throw primitive abort.reason if signal aborted]
expected: FAIL expected: FAIL
[throwIfAborted() should not throw if signal not aborted]
expected: FAIL
[AbortSignal.reason returns the same DOMException] [AbortSignal.reason returns the same DOMException]
expected: FAIL expected: FAIL
[AbortController.signal.reason returns the same DOMException]
expected: FAIL
[event.any.worker.html] [event.any.worker.html]
type: testharness type: testharness
[AbortController() basics] [AbortController() basics]
expected: FAIL expected: FAIL
[AbortController abort() should fire event synchronously]
expected: FAIL
[controller.signal should always return the same object]
expected: FAIL
[controller.abort() should do nothing the second time it is called] [controller.abort() should do nothing the second time it is called]
expected: FAIL 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] [static aborting signal should have right properties]
expected: FAIL expected: FAIL
@ -42,5 +96,11 @@
[throwIfAborted() should throw primitive abort.reason if signal aborted] [throwIfAborted() should throw primitive abort.reason if signal aborted]
expected: FAIL expected: FAIL
[throwIfAborted() should not throw if signal not aborted]
expected: FAIL
[AbortSignal.reason returns the same DOMException] [AbortSignal.reason returns the same DOMException]
expected: FAIL expected: FAIL
[AbortController.signal.reason returns the same DOMException]
expected: FAIL

View file

@ -1,14 +1,68 @@
[AddEventListenerOptions-signal.any.html] [AddEventListenerOptions-signal.any.html]
[Passing an AbortSignal to addEventListener works with the once flag]
expected: FAIL
[Adding then aborting a listener in another listener does not call it]
expected: FAIL
[Passing an AbortSignal to addEventListener works with the capture flag]
expected: FAIL
[Aborting from a listener does not call future listeners] [Aborting from a listener does not call future listeners]
expected: FAIL expected: FAIL
[Passing an AbortSignal to multiple listeners]
expected: FAIL
[Passing an AbortSignal to addEventListener does not prevent removeEventListener]
expected: FAIL
[Aborting from a nested listener should remove it]
expected: FAIL
[Removing a once listener works with a passed signal]
expected: FAIL
[Passing an AbortSignal to addEventListener options should allow removing a listener] [Passing an AbortSignal to addEventListener options should allow removing a listener]
expected: FAIL expected: FAIL
[Passing null as the signal should throw]
expected: FAIL
[Passing null as the signal should throw (listener is also null)]
expected: FAIL
[AddEventListenerOptions-signal.any.worker.html] [AddEventListenerOptions-signal.any.worker.html]
[Passing an AbortSignal to addEventListener works with the once flag]
expected: FAIL
[Adding then aborting a listener in another listener does not call it]
expected: FAIL
[Passing an AbortSignal to addEventListener works with the capture flag]
expected: FAIL
[Aborting from a listener does not call future listeners] [Aborting from a listener does not call future listeners]
expected: FAIL expected: FAIL
[Passing an AbortSignal to multiple listeners]
expected: FAIL
[Passing an AbortSignal to addEventListener does not prevent removeEventListener]
expected: FAIL
[Aborting from a nested listener should remove it]
expected: FAIL
[Removing a once listener works with a passed signal]
expected: FAIL
[Passing an AbortSignal to addEventListener options should allow removing a listener] [Passing an AbortSignal to addEventListener options should allow removing a listener]
expected: FAIL expected: FAIL
[Passing null as the signal should throw]
expected: FAIL
[Passing null as the signal should throw (listener is also null)]
expected: FAIL

View file

@ -1,58 +1,172 @@
[idlharness.any.worker.html] [idlharness.any.worker.html]
[AbortController interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Event interface: new Event("foo") must inherit property "composed" with the proper type] [Event interface: new Event("foo") must inherit property "composed" with the proper type]
expected: FAIL expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type] [EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type]
expected: FAIL expected: FAIL
[AbortSignal must be primary interface of new AbortController().signal]
expected: FAIL
[AbortController interface object name]
expected: FAIL
[Event interface: attribute composed] [Event interface: attribute composed]
expected: FAIL expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object]
expected: FAIL
[Stringification of new AbortController().signal]
expected: FAIL
[AbortSignal interface: existence and properties of interface object]
expected: FAIL
[CustomEvent interface: operation initCustomEvent(DOMString, boolean, boolean, any)] [CustomEvent interface: operation initCustomEvent(DOMString, boolean, boolean, any)]
expected: FAIL expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type] [EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type]
expected: FAIL expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "dispatchEvent(Event)" with the proper type]
expected: FAIL
[EventTarget interface: calling addEventListener(DOMString, EventListener, [object Object\],[object Object\]) on new AbortController().signal with too few arguments must throw TypeError] [EventTarget interface: calling addEventListener(DOMString, EventListener, [object Object\],[object Object\]) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type]
expected: FAIL
[AbortSignal interface object name]
expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object]
expected: FAIL
[Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type] [Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type]
expected: FAIL expected: FAIL
[Stringification of new AbortController()]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "signal" with the proper type]
expected: FAIL
[AbortController interface: operation abort()] [AbortController interface: operation abort()]
expected: FAIL expected: FAIL
[AbortController interface: existence and properties of interface object]
expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[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: attribute aborted]
expected: FAIL
[AbortController interface: attribute signal]
expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "onabort" with the proper type]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[EventTarget interface: calling removeEventListener(DOMString, EventListener, [object Object\],[object Object\]) on new AbortController().signal with too few arguments must throw TypeError] [EventTarget interface: calling removeEventListener(DOMString, EventListener, [object Object\],[object Object\]) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: attribute onabort]
expected: FAIL
[AbortController interface object length]
expected: FAIL
[AbortSignal interface object length]
expected: FAIL
[EventTarget interface: calling dispatchEvent(Event) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[AbortController must be primary interface of new AbortController()]
expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean))" with the proper type]
expected: FAIL
[EventTarget interface: calling removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[CustomEvent interface: operation initCustomEvent(DOMString, optional boolean, optional boolean, optional any)] [CustomEvent interface: operation initCustomEvent(DOMString, optional boolean, optional boolean, optional any)]
expected: FAIL expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean))" with the proper type]
expected: FAIL
[EventTarget interface: calling addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[AbortSignal interface: operation abort()] [AbortSignal interface: operation abort()]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type] [AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type]
expected: FAIL expected: FAIL
[AbortController interface: operation abort(optional any)]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "abort(optional any)" with the proper type]
expected: FAIL
[AbortController interface: calling abort(optional any) on new AbortController() with too few arguments must throw TypeError]
expected: FAIL
[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]
expected: FAIL
[AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "reason" with the proper type]
expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "throwIfAborted()" with the proper type]
expected: FAIL
[AbortSignal interface: operation timeout(unsigned long long)] [AbortSignal interface: operation timeout(unsigned long long)]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "timeout(unsigned long long)" with the proper type]
expected: FAIL
[AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: operation any(sequence<AbortSignal>)] [AbortSignal interface: operation any(sequence<AbortSignal>)]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "any(sequence<AbortSignal>)" with the proper type]
expected: FAIL
[AbortSignal interface: calling any(sequence<AbortSignal>) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling any(sequence<AbortSignal>) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL

View file

@ -5,9 +5,15 @@
[Text interface: document.createTextNode("abc") must inherit property "assignedSlot" with the proper type] [Text interface: document.createTextNode("abc") must inherit property "assignedSlot" with the proper type]
expected: FAIL expected: FAIL
[AbortSignal must be primary interface of new AbortController().signal]
expected: FAIL
[Element interface: element must inherit property "assignedSlot" with the proper type] [Element interface: element must inherit property "assignedSlot" with the proper type]
expected: FAIL expected: FAIL
[AbortController interface object name]
expected: FAIL
[Event interface: attribute composed] [Event interface: attribute composed]
expected: FAIL expected: FAIL
@ -17,9 +23,15 @@
[Text interface: attribute assignedSlot] [Text interface: attribute assignedSlot]
expected: FAIL expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Document interface: existence and properties of interface prototype object's @@unscopables property] [Document interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL expected: FAIL
[AbortSignal interface: existence and properties of interface object]
expected: FAIL
[Element interface: attribute shadowRoot] [Element interface: attribute shadowRoot]
expected: FAIL expected: FAIL
@ -35,9 +47,15 @@
[EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type] [EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type]
expected: FAIL expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "dispatchEvent(Event)" with the proper type]
expected: FAIL
[EventTarget interface: calling addEventListener(DOMString, EventListener, [object Object\],[object Object\]) on new AbortController().signal with too few arguments must throw TypeError] [EventTarget interface: calling addEventListener(DOMString, EventListener, [object Object\],[object Object\]) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface object name]
expected: FAIL
[Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type] [Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type]
expected: FAIL expected: FAIL
@ -47,9 +65,15 @@
[AbortController interface: operation abort()] [AbortController interface: operation abort()]
expected: FAIL expected: FAIL
[AbortController interface: existence and properties of interface object]
expected: FAIL
[CharacterData interface: operation replaceWith([object Object\],[object Object\])] [CharacterData interface: operation replaceWith([object Object\],[object Object\])]
expected: FAIL expected: FAIL
[AbortController interface: attribute signal]
expected: FAIL
[Element interface: calling attachShadow(ShadowRootInit) on element with too few arguments must throw TypeError] [Element interface: calling attachShadow(ShadowRootInit) on element with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
@ -59,6 +83,15 @@
[DocumentType interface: operation replaceWith([object Object\],[object Object\])] [DocumentType interface: operation replaceWith([object Object\],[object Object\])]
expected: FAIL expected: FAIL
[AbortSignal interface: attribute aborted]
expected: FAIL
[AbortController must be primary interface of new AbortController()]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[CharacterData interface: operation remove()] [CharacterData interface: operation remove()]
expected: FAIL expected: FAIL
@ -71,9 +104,15 @@
[Element interface: element must inherit property "slot" with the proper type] [Element interface: element must inherit property "slot" with the proper type]
expected: FAIL expected: FAIL
[AbortController interface: new AbortController() must inherit property "signal" with the proper type]
expected: FAIL
[DocumentType interface: operation before([object Object\],[object Object\])] [DocumentType interface: operation before([object Object\],[object Object\])]
expected: FAIL expected: FAIL
[AbortSignal interface object length]
expected: FAIL
[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
@ -83,9 +122,18 @@
[DocumentType interface: existence and properties of interface prototype object's @@unscopables property] [DocumentType interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL expected: FAIL
[AbortController interface object length]
expected: FAIL
[Element interface: operation before([object Object\],[object Object\])] [Element interface: operation before([object Object\],[object Object\])]
expected: FAIL expected: FAIL
[EventTarget interface: calling dispatchEvent(Event) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object]
expected: FAIL
[CustomEvent interface: operation initCustomEvent(DOMString, boolean, boolean, any)] [CustomEvent interface: operation initCustomEvent(DOMString, boolean, boolean, any)]
expected: FAIL expected: FAIL
@ -95,15 +143,33 @@
[DocumentFragment interface: existence and properties of interface prototype object's @@unscopables property] [DocumentFragment interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type]
expected: FAIL
[Element interface: operation prepend([object Object\],[object Object\])] [Element interface: operation prepend([object Object\],[object Object\])]
expected: FAIL expected: FAIL
[DocumentType interface: operation after([object Object\],[object Object\])] [DocumentType interface: operation after([object Object\],[object Object\])]
expected: FAIL expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Document interface: xmlDoc must inherit property "origin" with the proper type] [Document interface: xmlDoc must inherit property "origin" with the proper type]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "onabort" with the proper type]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[AbortSignal interface: attribute onabort]
expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object]
expected: FAIL
[Event interface: new Event("foo") must inherit property "composed" with the proper type] [Event interface: new Event("foo") must inherit property "composed" with the proper type]
expected: FAIL expected: FAIL
@ -116,6 +182,9 @@
[Element interface: operation remove()] [Element interface: operation remove()]
expected: FAIL expected: FAIL
[Stringification of new AbortController().signal]
expected: FAIL
[DocumentFragment interface: operation prepend([object Object\],[object Object\])] [DocumentFragment interface: operation prepend([object Object\],[object Object\])]
expected: FAIL expected: FAIL
@ -125,6 +194,9 @@
[CharacterData interface: operation before([object Object\],[object Object\])] [CharacterData interface: operation before([object Object\],[object Object\])]
expected: FAIL expected: FAIL
[Stringification of new AbortController()]
expected: FAIL
[CharacterData interface: operation after([object Object\],[object Object\])] [CharacterData interface: operation after([object Object\],[object Object\])]
expected: FAIL expected: FAIL
@ -458,6 +530,15 @@
[Document interface: operation prepend((Node or DOMString)...)] [Document interface: operation prepend((Node or DOMString)...)]
expected: FAIL expected: FAIL
[EventTarget interface: calling removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean))" with the proper type]
expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean))" with the proper type]
expected: FAIL
[XPathEvaluator interface: operation createExpression(DOMString, optional XPathNSResolver?)] [XPathEvaluator interface: operation createExpression(DOMString, optional XPathNSResolver?)]
expected: FAIL expected: FAIL
@ -503,6 +584,9 @@
[DocumentType interface: operation before((Node or DOMString)...)] [DocumentType interface: operation before((Node or DOMString)...)]
expected: FAIL expected: FAIL
[EventTarget interface: calling addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[Document interface: calling createExpression(DOMString, optional XPathNSResolver?) on xmlDoc with too few arguments must throw TypeError] [Document interface: calling createExpression(DOMString, optional XPathNSResolver?) on xmlDoc with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
@ -674,18 +758,45 @@
[XSLTProcessor interface: new XSLTProcessor() must inherit property "reset()" with the proper type] [XSLTProcessor interface: new XSLTProcessor() must inherit property "reset()" with the proper type]
expected: FAIL expected: FAIL
[AbortController interface: operation abort(optional any)]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "abort(optional any)" with the proper type]
expected: FAIL
[AbortController interface: calling abort(optional any) on new AbortController() with too few arguments must throw TypeError]
expected: FAIL
[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]
expected: FAIL
[AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "reason" with the proper type]
expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "throwIfAborted()" with the proper type]
expected: FAIL
[idl_test setup] [idl_test setup]
expected: FAIL expected: FAIL
[AbortSignal interface: operation timeout(unsigned long long)] [AbortSignal interface: operation timeout(unsigned long long)]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "timeout(unsigned long long)" with the proper type]
expected: FAIL
[AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
@ -722,6 +833,9 @@
[AbortSignal interface: operation any(sequence<AbortSignal>)] [AbortSignal interface: operation any(sequence<AbortSignal>)]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "any(sequence<AbortSignal>)" with the proper type]
expected: FAIL
[AbortSignal interface: calling any(sequence<AbortSignal>) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling any(sequence<AbortSignal>) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL

View file

@ -0,0 +1,8 @@
[interface-objects.html]
type: testharness
[Should be able to delete AbortController.]
expected: FAIL
[Should be able to delete AbortSignal.]
expected: FAIL

View file

@ -1,35 +1,93 @@
[Document-createElement-namespace.html] [Document-createElement-namespace.html]
disabled: extremely frequent intermittent crash disabled: extremely frequent intermittent crash
type: testharness type: testharness
[Created element's namespace in empty.xhtml]
expected: FAIL
[Created element's namespace in empty.xml]
expected: FAIL
[Created element's namespace in empty.svg] [Created element's namespace in empty.svg]
expected: FAIL expected: FAIL
[Created element's namespace in minimal_html.xhtml]
expected: FAIL
[Created element's namespace in minimal_html.xml]
expected: FAIL
[Created element's namespace in minimal_html.svg] [Created element's namespace in minimal_html.svg]
expected: FAIL expected: FAIL
[Created element's namespace in xhtml.xhtml]
expected: FAIL
[Created element's namespace in xhtml.xml]
expected: FAIL
[Created element's namespace in xhtml.svg] [Created element's namespace in xhtml.svg]
expected: FAIL expected: FAIL
[Created element's namespace in svg.xhtml]
expected: FAIL
[Created element's namespace in svg.xml]
expected: FAIL
[Created element's namespace in svg.svg] [Created element's namespace in svg.svg]
expected: FAIL expected: FAIL
[Created element's namespace in mathml.xhtml]
expected: FAIL
[Created element's namespace in mathml.xml]
expected: FAIL
[Created element's namespace in mathml.svg] [Created element's namespace in mathml.svg]
expected: FAIL expected: FAIL
[Created element's namespace in bare_xhtml.xhtml]
expected: FAIL
[Created element's namespace in bare_xhtml.xml]
expected: FAIL
[Created element's namespace in bare_xhtml.svg] [Created element's namespace in bare_xhtml.svg]
expected: FAIL expected: FAIL
[Created element's namespace in bare_svg.xhtml]
expected: FAIL
[Created element's namespace in bare_svg.xml]
expected: FAIL
[Created element's namespace in bare_svg.svg] [Created element's namespace in bare_svg.svg]
expected: FAIL expected: FAIL
[Created element's namespace in bare_mathml.xhtml]
expected: FAIL
[Created element's namespace in bare_mathml.xml]
expected: FAIL
[Created element's namespace in bare_mathml.svg] [Created element's namespace in bare_mathml.svg]
expected: FAIL expected: FAIL
[Created element's namespace in xhtml_ns_removed.xhtml]
expected: FAIL
[Created element's namespace in xhtml_ns_removed.xml]
expected: FAIL
[Created element's namespace in xhtml_ns_removed.svg] [Created element's namespace in xhtml_ns_removed.svg]
expected: FAIL expected: FAIL
[Created element's namespace in xhtml_ns_changed.xhtml]
expected: FAIL
[Created element's namespace in xhtml_ns_changed.xml]
expected: FAIL
[Created element's namespace in xhtml_ns_changed.svg] [Created element's namespace in xhtml_ns_changed.svg]
expected: FAIL expected: FAIL
[Created element's namespace in created SVG document by DOMParser ('image/svg+xml')]
expected: FAIL

View file

@ -1,3 +1,5 @@
[destroyed-context.html] [destroyed-context.html]
expected: ERROR
[destroyed-context] [destroyed-context]
expected: FAIL expected: FAIL

View file

@ -1,6 +1,5 @@
[general.any.worker.html] [general.any.worker.html]
type: testharness type: testharness
expected: TIMEOUT
[Untitled] [Untitled]
expected: FAIL expected: FAIL
@ -13,6 +12,36 @@
[Aborting rejects with AbortError - no-cors] [Aborting rejects with AbortError - no-cors]
expected: FAIL expected: FAIL
[TypeError from request constructor takes priority - RequestInit's window is not null]
expected: FAIL
[TypeError from request constructor takes priority - Input URL is not valid]
expected: FAIL
[TypeError from request constructor takes priority - Input URL has credentials]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's mode is navigate]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's referrer is invalid]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is forbidden]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin]
expected: FAIL
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors]
expected: FAIL
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors]
expected: FAIL
[TypeError from request constructor takes priority - Bad referrerPolicy init parameter value] [TypeError from request constructor takes priority - Bad referrerPolicy init parameter value]
expected: FAIL expected: FAIL
@ -46,6 +75,9 @@
[Signal retained after unrelated properties are overridden by fetch] [Signal retained after unrelated properties are overridden by fetch]
expected: FAIL expected: FAIL
[Signal removed by setting to null]
expected: FAIL
[Already aborted signal rejects immediately] [Already aborted signal rejects immediately]
expected: FAIL expected: FAIL
@ -83,31 +115,31 @@
expected: FAIL expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()] [Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
expected: TIMEOUT expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.blob()] [Fetch aborted & connection closed when aborted after calling response.blob()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.formData()] [Fetch aborted & connection closed when aborted after calling response.formData()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.json()] [Fetch aborted & connection closed when aborted after calling response.json()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.text()] [Fetch aborted & connection closed when aborted after calling response.text()]
expected: NOTRUN expected: FAIL
[Stream errors once aborted. Underlying connection closed.] [Stream errors once aborted. Underlying connection closed.]
expected: NOTRUN expected: FAIL
[Stream errors once aborted, after reading. Underlying connection closed.] [Stream errors once aborted, after reading. Underlying connection closed.]
expected: NOTRUN expected: FAIL
[Stream will not error if body is empty. It's closed with an empty queue before it errors.] [Stream will not error if body is empty. It's closed with an empty queue before it errors.]
expected: NOTRUN expected: FAIL
[Readable stream synchronously cancels with AbortError if aborted before reading] [Readable stream synchronously cancels with AbortError if aborted before reading]
expected: NOTRUN expected: FAIL
[Signal state is cloned] [Signal state is cloned]
expected: FAIL expected: FAIL
@ -115,6 +147,9 @@
[Clone aborts with original controller] [Clone aborts with original controller]
expected: FAIL expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is invalid]
expected: FAIL
[Call text() twice on aborted response] [Call text() twice on aborted response]
expected: FAIL expected: FAIL
@ -127,7 +162,6 @@
[general.any.html] [general.any.html]
type: testharness type: testharness
expected: TIMEOUT
[Untitled] [Untitled]
expected: FAIL expected: FAIL
@ -140,6 +174,36 @@
[Aborting rejects with AbortError - no-cors] [Aborting rejects with AbortError - no-cors]
expected: FAIL expected: FAIL
[TypeError from request constructor takes priority - RequestInit's window is not null]
expected: FAIL
[TypeError from request constructor takes priority - Input URL is not valid]
expected: FAIL
[TypeError from request constructor takes priority - Input URL has credentials]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's mode is navigate]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's referrer is invalid]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is forbidden]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin]
expected: FAIL
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors]
expected: FAIL
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors]
expected: FAIL
[TypeError from request constructor takes priority - Bad referrerPolicy init parameter value] [TypeError from request constructor takes priority - Bad referrerPolicy init parameter value]
expected: FAIL expected: FAIL
@ -155,6 +219,9 @@
[TypeError from request constructor takes priority - Bad redirect init parameter value] [TypeError from request constructor takes priority - Bad redirect init parameter value]
expected: FAIL expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is invalid]
expected: FAIL
[Request objects have a signal property] [Request objects have a signal property]
expected: FAIL expected: FAIL
@ -173,6 +240,9 @@
[Signal retained after unrelated properties are overridden by fetch] [Signal retained after unrelated properties are overridden by fetch]
expected: FAIL expected: FAIL
[Signal removed by setting to null]
expected: FAIL
[Already aborted signal rejects immediately] [Already aborted signal rejects immediately]
expected: FAIL expected: FAIL
@ -210,31 +280,31 @@
expected: FAIL expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()] [Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
expected: TIMEOUT expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.blob()] [Fetch aborted & connection closed when aborted after calling response.blob()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.formData()] [Fetch aborted & connection closed when aborted after calling response.formData()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.json()] [Fetch aborted & connection closed when aborted after calling response.json()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.text()] [Fetch aborted & connection closed when aborted after calling response.text()]
expected: NOTRUN expected: FAIL
[Stream errors once aborted. Underlying connection closed.] [Stream errors once aborted. Underlying connection closed.]
expected: NOTRUN expected: FAIL
[Stream errors once aborted, after reading. Underlying connection closed.] [Stream errors once aborted, after reading. Underlying connection closed.]
expected: NOTRUN expected: FAIL
[Stream will not error if body is empty. It's closed with an empty queue before it errors.] [Stream will not error if body is empty. It's closed with an empty queue before it errors.]
expected: NOTRUN expected: FAIL
[Readable stream synchronously cancels with AbortError if aborted before reading] [Readable stream synchronously cancels with AbortError if aborted before reading]
expected: NOTRUN expected: FAIL
[Signal state is cloned] [Signal state is cloned]
expected: FAIL expected: FAIL

View file

@ -1,10 +1,5 @@
[keepalive.html] [keepalive.html]
expected: TIMEOUT expected: ERROR
[keepalive] [keepalive]
expected: FAIL expected: FAIL
[aborting a keepalive fetch should work]
expected: TIMEOUT
[aborting a detached keepalive fetch should not do anything]
expected: NOTRUN

View file

@ -2,9 +2,27 @@
expected: ERROR expected: ERROR
[request.any.worker.html] [request.any.worker.html]
[Calling arrayBuffer() on an aborted request]
expected: FAIL
[Aborting a request after calling arrayBuffer()]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed empty request]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed nonempty request] [Calling arrayBuffer() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[Calling blob() on an aborted request]
expected: FAIL
[Aborting a request after calling blob()]
expected: FAIL
[Calling blob() on an aborted consumed empty request]
expected: FAIL
[Calling blob() on an aborted consumed nonempty request] [Calling blob() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
@ -14,17 +32,53 @@
[Aborting a request after calling formData()] [Aborting a request after calling formData()]
expected: FAIL expected: FAIL
[Calling formData() on an aborted consumed nonempty request]
expected: FAIL
[Calling json() on an aborted request]
expected: FAIL
[Aborting a request after calling json()]
expected: FAIL
[Calling json() on an aborted consumed nonempty request] [Calling json() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[Calling text() on an aborted request]
expected: FAIL
[Aborting a request after calling text()]
expected: FAIL
[Calling text() on an aborted consumed empty request]
expected: FAIL
[Calling text() on an aborted consumed nonempty request] [Calling text() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[request.any.html] [request.any.html]
[Calling arrayBuffer() on an aborted request]
expected: FAIL
[Aborting a request after calling arrayBuffer()]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed empty request]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed nonempty request] [Calling arrayBuffer() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[Calling blob() on an aborted request]
expected: FAIL
[Aborting a request after calling blob()]
expected: FAIL
[Calling blob() on an aborted consumed empty request]
expected: FAIL
[Calling blob() on an aborted consumed nonempty request] [Calling blob() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
@ -34,9 +88,27 @@
[Aborting a request after calling formData()] [Aborting a request after calling formData()]
expected: FAIL expected: FAIL
[Calling formData() on an aborted consumed nonempty request]
expected: FAIL
[Calling json() on an aborted request]
expected: FAIL
[Aborting a request after calling json()]
expected: FAIL
[Calling json() on an aborted consumed nonempty request] [Calling json() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[Calling text() on an aborted request]
expected: FAIL
[Aborting a request after calling text()]
expected: FAIL
[Calling text() on an aborted consumed empty request]
expected: FAIL
[Calling text() on an aborted consumed nonempty request] [Calling text() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL

View file

@ -1,10 +1,9 @@
[send-on-deactivate.tentative.https.window.html] [send-on-deactivate.tentative.https.window.html]
expected: TIMEOUT
[fetchLater() sends on page entering BFCache if BackgroundSync is off.] [fetchLater() sends on page entering BFCache if BackgroundSync is off.]
expected: FAIL expected: FAIL
[Call fetchLater() when BFCached with activateAfter=0 sends immediately.] [Call fetchLater() when BFCached with activateAfter=0 sends immediately.]
expected: TIMEOUT expected: FAIL
[fetchLater() sends on navigating away a page w/o BFCache.] [fetchLater() sends on navigating away a page w/o BFCache.]
expected: FAIL expected: FAIL

View file

@ -1,7 +1,6 @@
[document-state.https.html] [document-state.https.html]
expected: TIMEOUT
[A navigation's initiator origin and referrer are stored in the document state and used in the document repopulation case] [A navigation's initiator origin and referrer are stored in the document state and used in the document repopulation case]
expected: TIMEOUT expected: FAIL
[A navigation's initiator origin and referrer are stored in the document state and used on location.reload()] [A navigation's initiator origin and referrer are stored in the document state and used on location.reload()]
expected: NOTRUN expected: FAIL

View file

@ -0,0 +1,3 @@
[navigateToNew.window.html]
[RemoteContextWrapper navigateToNew]
expected: FAIL

View file

@ -1,4 +1,3 @@
[navigation-bfcache.window.html] [navigation-bfcache.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[navigation-helpers.window.html] [navigation-helpers.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation helpers] [RemoteContextHelper navigation helpers]
expected: TIMEOUT expected: FAIL

View file

@ -0,0 +1,3 @@
[navigation-same-document.window.html]
[RemoteContextHelper navigation using BFCache]
expected: FAIL

View file

@ -0,0 +1,3 @@
[unload-main-frame-cross-origin.window.html]
[Unload runs in main frame when navigating cross-origin.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[unload-main-frame-same-origin.window.html]
[Unload runs in main frame when navigating same-origin.]
expected: FAIL

View file

@ -1,4 +1,3 @@
[history-state-after-bfcache.window.html] [history-state-after-bfcache.window.html]
expected: TIMEOUT
[Navigating back to a bfcached page does not reset history.state] [Navigating back to a bfcached page does not reset history.state]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-attributes.tentative.window.html] [performance-navigation-timing-attributes.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-bfcache-reasons-stay.tentative.window.html] [performance-navigation-timing-bfcache-reasons-stay.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-bfcache.tentative.window.html] [performance-navigation-timing-bfcache.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-cross-origin-bfcache.tentative.window.html] [performance-navigation-timing-cross-origin-bfcache.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-fetch.tentative.window.html] [performance-navigation-timing-fetch.tentative.window.html]
expected: TIMEOUT
[Ensure that ongoing fetch upon entering bfcache blocks bfcache and recorded.] [Ensure that ongoing fetch upon entering bfcache blocks bfcache and recorded.]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-not-bfcached.tentative.window.html] [performance-navigation-timing-not-bfcached.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-redirect-on-history.tentative.window.html] [performance-navigation-timing-redirect-on-history.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-reload.tentative.window.html] [performance-navigation-timing-reload.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-same-origin-bfcache.tentative.window.html] [performance-navigation-timing-same-origin-bfcache.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -11,6 +11,12 @@
[compileStreaming() synchronously followed by abort should reject with AbortError] [compileStreaming() synchronously followed by abort should reject with AbortError]
expected: FAIL expected: FAIL
[compileStreaming() asynchronously racing with abort should succeed or reject with AbortError]
expected: FAIL
[instantiateStreaming() asynchronously racing with abort should succeed or reject with AbortError]
expected: FAIL
[abort.any.html] [abort.any.html]
[instantiateStreaming() on an already-aborted request should reject with AbortError] [instantiateStreaming() on an already-aborted request should reject with AbortError]
@ -24,3 +30,10 @@
[compileStreaming() synchronously followed by abort should reject with AbortError] [compileStreaming() synchronously followed by abort should reject with AbortError]
expected: FAIL expected: FAIL
[compileStreaming() asynchronously racing with abort should succeed or reject with AbortError]
expected: FAIL
[instantiateStreaming() asynchronously racing with abort should succeed or reject with AbortError]
expected: FAIL

View file

@ -1,5 +1,5 @@
[document-destroyed.tentative.window.html] [document-destroyed.tentative.window.html]
expected: TIMEOUT expected: ERROR
[The context is navigated to a new document and a close event is fired.] [The context is navigated to a new document and a close event is fired.]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,4 +1,3 @@
[back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.html] [back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.html]
expected: TIMEOUT
[Testing BFCache support for page with closed WebSocket connection and "Cache-Control: no-store" header.] [Testing BFCache support for page with closed WebSocket connection and "Cache-Control: no-store" header.]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[back-forward-cache-with-closed-websocket-connection.window.html] [back-forward-cache-with-closed-websocket-connection.window.html]
expected: TIMEOUT
[Testing BFCache support for page with closed WebSocket connection.] [Testing BFCache support for page with closed WebSocket connection.]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[back-forward-cache-with-open-websocket-connection-ccns.tentative.window.html] [back-forward-cache-with-open-websocket-connection-ccns.tentative.window.html]
expected: TIMEOUT
[Testing BFCache support for page with open WebSocket connection and "Cache-Control: no-store" header.] [Testing BFCache support for page with open WebSocket connection and "Cache-Control: no-store" header.]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[back-forward-cache-with-open-websocket-connection.window.html] [back-forward-cache-with-open-websocket-connection.window.html]
expected: TIMEOUT
[Testing BFCache support for page with open WebSocket connection.] [Testing BFCache support for page with open WebSocket connection.]
expected: TIMEOUT expected: FAIL

View file

@ -1,62 +1,5 @@
[abort-signal-any.any.worker.html] [abort-signal-any.any.worker.html]
[AbortSignal.any() works with an empty array of signals] expected: ERROR
expected: FAIL
[AbortSignal.any() follows a single signal (using AbortController)]
expected: FAIL
[AbortSignal.any() follows multiple signals (using AbortController)]
expected: FAIL
[AbortSignal.any() returns an aborted signal if passed an aborted signal (using AbortController)]
expected: FAIL
[AbortSignal.any() can be passed the same signal more than once (using AbortController)]
expected: FAIL
[AbortSignal.any() uses the first instance of a duplicate signal (using AbortController)]
expected: FAIL
[AbortSignal.any() signals are composable (using AbortController)]
expected: FAIL
[AbortSignal.any() works with signals returned by AbortSignal.timeout() (using AbortController)]
expected: FAIL
[AbortSignal.any() works with intermediate signals (using AbortController)]
expected: FAIL
[Abort events for AbortSignal.any() signals fire in the right order (using AbortController)]
expected: FAIL
[abort-signal-any.any.html] [abort-signal-any.any.html]
[AbortSignal.any() works with an empty array of signals] expected: ERROR
expected: FAIL
[AbortSignal.any() follows a single signal (using AbortController)]
expected: FAIL
[AbortSignal.any() follows multiple signals (using AbortController)]
expected: FAIL
[AbortSignal.any() returns an aborted signal if passed an aborted signal (using AbortController)]
expected: FAIL
[AbortSignal.any() can be passed the same signal more than once (using AbortController)]
expected: FAIL
[AbortSignal.any() uses the first instance of a duplicate signal (using AbortController)]
expected: FAIL
[AbortSignal.any() signals are composable (using AbortController)]
expected: FAIL
[AbortSignal.any() works with signals returned by AbortSignal.timeout() (using AbortController)]
expected: FAIL
[AbortSignal.any() works with intermediate signals (using AbortController)]
expected: FAIL
[Abort events for AbortSignal.any() signals fire in the right order (using AbortController)]
expected: FAIL

View file

@ -1,7 +1,31 @@
[event.any.html] [event.any.html]
[AbortController abort() should fire event synchronously]
expected: FAIL
[controller.signal should always return the same object]
expected: FAIL
[controller.abort() should do nothing the second time it is called] [controller.abort() should do nothing the second time it is called]
expected: FAIL 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] [static aborting signal should have right properties]
expected: FAIL expected: FAIL
@ -14,14 +38,44 @@
[throwIfAborted() should throw primitive abort.reason if signal aborted] [throwIfAborted() should throw primitive abort.reason if signal aborted]
expected: FAIL expected: FAIL
[throwIfAborted() should not throw if signal not aborted]
expected: FAIL
[AbortSignal.reason returns the same DOMException] [AbortSignal.reason returns the same DOMException]
expected: FAIL expected: FAIL
[AbortController.signal.reason returns the same DOMException]
expected: FAIL
[event.any.worker.html] [event.any.worker.html]
[AbortController abort() should fire event synchronously]
expected: FAIL
[controller.signal should always return the same object]
expected: FAIL
[controller.abort() should do nothing the second time it is called] [controller.abort() should do nothing the second time it is called]
expected: FAIL 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] [static aborting signal should have right properties]
expected: FAIL expected: FAIL
@ -34,5 +88,11 @@
[throwIfAborted() should throw primitive abort.reason if signal aborted] [throwIfAborted() should throw primitive abort.reason if signal aborted]
expected: FAIL expected: FAIL
[throwIfAborted() should not throw if signal not aborted]
expected: FAIL
[AbortSignal.reason returns the same DOMException] [AbortSignal.reason returns the same DOMException]
expected: FAIL expected: FAIL
[AbortController.signal.reason returns the same DOMException]
expected: FAIL

View file

@ -1,14 +1,68 @@
[AddEventListenerOptions-signal.any.html] [AddEventListenerOptions-signal.any.html]
[Passing an AbortSignal to addEventListener works with the once flag]
expected: FAIL
[Adding then aborting a listener in another listener does not call it]
expected: FAIL
[Passing an AbortSignal to addEventListener works with the capture flag]
expected: FAIL
[Aborting from a listener does not call future listeners] [Aborting from a listener does not call future listeners]
expected: FAIL expected: FAIL
[Passing an AbortSignal to multiple listeners]
expected: FAIL
[Passing an AbortSignal to addEventListener does not prevent removeEventListener]
expected: FAIL
[Aborting from a nested listener should remove it]
expected: FAIL
[Removing a once listener works with a passed signal]
expected: FAIL
[Passing an AbortSignal to addEventListener options should allow removing a listener] [Passing an AbortSignal to addEventListener options should allow removing a listener]
expected: FAIL expected: FAIL
[Passing null as the signal should throw]
expected: FAIL
[Passing null as the signal should throw (listener is also null)]
expected: FAIL
[AddEventListenerOptions-signal.any.worker.html] [AddEventListenerOptions-signal.any.worker.html]
[Passing an AbortSignal to addEventListener works with the once flag]
expected: FAIL
[Adding then aborting a listener in another listener does not call it]
expected: FAIL
[Passing an AbortSignal to addEventListener works with the capture flag]
expected: FAIL
[Aborting from a listener does not call future listeners] [Aborting from a listener does not call future listeners]
expected: FAIL expected: FAIL
[Passing an AbortSignal to multiple listeners]
expected: FAIL
[Passing an AbortSignal to addEventListener does not prevent removeEventListener]
expected: FAIL
[Aborting from a nested listener should remove it]
expected: FAIL
[Removing a once listener works with a passed signal]
expected: FAIL
[Passing an AbortSignal to addEventListener options should allow removing a listener] [Passing an AbortSignal to addEventListener options should allow removing a listener]
expected: FAIL expected: FAIL
[Passing null as the signal should throw]
expected: FAIL
[Passing null as the signal should throw (listener is also null)]
expected: FAIL

View file

@ -17,32 +17,146 @@
[Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type] [Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type]
expected: FAIL expected: FAIL
[AbortController interface: existence and properties of interface object]
expected: FAIL
[AbortController interface object length]
expected: FAIL
[AbortController interface object name]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[AbortController interface: attribute signal]
expected: FAIL
[AbortController interface: operation abort()] [AbortController interface: operation abort()]
expected: FAIL expected: FAIL
[AbortController must be primary interface of new AbortController()]
expected: FAIL
[Stringification of new AbortController()]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "signal" with the proper type]
expected: FAIL
[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]
expected: FAIL
[Stringification of new AbortController().signal]
expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type] [AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type]
expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "onabort" with the proper type]
expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean))" with the proper type]
expected: FAIL
[EventTarget interface: calling addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean))" with the proper type]
expected: FAIL
[EventTarget interface: calling removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "dispatchEvent(Event)" with the proper type]
expected: FAIL
[EventTarget interface: calling dispatchEvent(Event) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[AbortController interface: operation abort(optional any)]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "abort(optional any)" with the proper type]
expected: FAIL
[AbortController interface: calling abort(optional any) on new AbortController() with too few arguments must throw TypeError]
expected: FAIL
[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]
expected: FAIL
[AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "reason" with the proper type]
expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "throwIfAborted()" with the proper type]
expected: FAIL
[AbortSignal interface: operation timeout(unsigned long long)] [AbortSignal interface: operation timeout(unsigned long long)]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "timeout(unsigned long long)" with the proper type]
expected: FAIL
[AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: operation any(sequence<AbortSignal>)] [AbortSignal interface: operation any(sequence<AbortSignal>)]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "any(sequence<AbortSignal>)" with the proper type]
expected: FAIL
[AbortSignal interface: calling any(sequence<AbortSignal>) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling any(sequence<AbortSignal>) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL

View file

@ -28,12 +28,18 @@
[XPathEvaluator interface: existence and properties of interface prototype object's @@unscopables property] [XPathEvaluator interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL expected: FAIL
[AbortSignal must be primary interface of new AbortController().signal]
expected: FAIL
[XPathResult interface: constant NUMBER_TYPE on interface object] [XPathResult interface: constant NUMBER_TYPE on interface object]
expected: FAIL expected: FAIL
[Element interface: element must inherit property "assignedSlot" with the proper type] [Element interface: element must inherit property "assignedSlot" with the proper type]
expected: FAIL expected: FAIL
[AbortController interface object name]
expected: FAIL
[Text interface: document.createTextNode("abc") must inherit property "assignedSlot" with the proper type] [Text interface: document.createTextNode("abc") must inherit property "assignedSlot" with the proper type]
expected: FAIL expected: FAIL
@ -46,9 +52,15 @@
[Text interface: attribute assignedSlot] [Text interface: attribute assignedSlot]
expected: FAIL expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Document interface: existence and properties of interface prototype object's @@unscopables property] [Document interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL expected: FAIL
[AbortSignal interface: existence and properties of interface object]
expected: FAIL
[XPathResult interface: constant STRING_TYPE on interface prototype object] [XPathResult interface: constant STRING_TYPE on interface prototype object]
expected: FAIL expected: FAIL
@ -58,12 +70,27 @@
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "ORDERED_NODE_ITERATOR_TYPE" with the proper type] [XPathResult interface: document.evaluate("//*", document.body) must inherit property "ORDERED_NODE_ITERATOR_TYPE" with the proper type]
expected: FAIL expected: FAIL
[EventTarget interface: calling removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean))" with the proper type]
expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "dispatchEvent(Event)" with the proper type]
expected: FAIL
[AbortSignal interface object name]
expected: FAIL
[Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type] [Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type]
expected: FAIL expected: FAIL
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "UNORDERED_NODE_ITERATOR_TYPE" with the proper type] [XPathResult interface: document.evaluate("//*", document.body) must inherit property "UNORDERED_NODE_ITERATOR_TYPE" with the proper type]
expected: FAIL expected: FAIL
[EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener?, optional (EventListenerOptions or boolean))" with the proper type]
expected: FAIL
[Element interface: operation attachShadow(ShadowRootInit)] [Element interface: operation attachShadow(ShadowRootInit)]
expected: FAIL expected: FAIL
@ -79,6 +106,9 @@
[AbortController interface: operation abort()] [AbortController interface: operation abort()]
expected: FAIL expected: FAIL
[AbortController interface: existence and properties of interface object]
expected: FAIL
[XPathResult interface: constant UNORDERED_NODE_ITERATOR_TYPE on interface prototype object] [XPathResult interface: constant UNORDERED_NODE_ITERATOR_TYPE on interface prototype object]
expected: FAIL expected: FAIL
@ -88,6 +118,9 @@
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "ANY_UNORDERED_NODE_TYPE" with the proper type] [XPathResult interface: document.evaluate("//*", document.body) must inherit property "ANY_UNORDERED_NODE_TYPE" with the proper type]
expected: FAIL expected: FAIL
[AbortController interface: attribute signal]
expected: FAIL
[XPathResult interface: constant UNORDERED_NODE_SNAPSHOT_TYPE on interface prototype object] [XPathResult interface: constant UNORDERED_NODE_SNAPSHOT_TYPE on interface prototype object]
expected: FAIL expected: FAIL
@ -103,6 +136,9 @@
[CharacterData interface: operation before((Node or DOMString)...)] [CharacterData interface: operation before((Node or DOMString)...)]
expected: FAIL expected: FAIL
[AbortSignal interface: attribute aborted]
expected: FAIL
[XPathResult interface: operation snapshotItem(unsigned long)] [XPathResult interface: operation snapshotItem(unsigned long)]
expected: FAIL expected: FAIL
@ -118,6 +154,12 @@
[Element interface: operation after((Node or DOMString)...)] [Element interface: operation after((Node or DOMString)...)]
expected: FAIL expected: FAIL
[AbortController must be primary interface of new AbortController()]
expected: FAIL
[AbortController interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Element interface: attribute assignedSlot] [Element interface: attribute assignedSlot]
expected: FAIL expected: FAIL
@ -163,6 +205,9 @@
[XPathExpression interface: operation evaluate(Node, optional unsigned short, optional XPathResult?)] [XPathExpression interface: operation evaluate(Node, optional unsigned short, optional XPathResult?)]
expected: FAIL expected: FAIL
[AbortController interface: new AbortController() must inherit property "signal" with the proper type]
expected: FAIL
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "iterateNext()" with the proper type] [XPathResult interface: document.evaluate("//*", document.body) must inherit property "iterateNext()" with the proper type]
expected: FAIL expected: FAIL
@ -187,6 +232,9 @@
[Document interface: calling evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?) on new Document() with too few arguments must throw TypeError] [Document interface: calling evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?) on new Document() with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortController interface object length]
expected: FAIL
[XPathExpression interface: existence and properties of interface prototype object's @@unscopables property] [XPathExpression interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL expected: FAIL
@ -217,9 +265,15 @@
[DocumentType interface: operation replaceWith((Node or DOMString)...)] [DocumentType interface: operation replaceWith((Node or DOMString)...)]
expected: FAIL expected: FAIL
[EventTarget interface: calling dispatchEvent(Event) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[XPathResult interface: existence and properties of interface prototype object's @@unscopables property] [XPathResult interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL expected: FAIL
[AbortController interface: existence and properties of interface prototype object]
expected: FAIL
[Document interface: new Document() must inherit property "createNSResolver(Node)" with the proper type] [Document interface: new Document() must inherit property "createNSResolver(Node)" with the proper type]
expected: FAIL expected: FAIL
@ -256,6 +310,12 @@
[XPathResult interface: constant ORDERED_NODE_SNAPSHOT_TYPE on interface prototype object] [XPathResult interface: constant ORDERED_NODE_SNAPSHOT_TYPE on interface prototype object]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type]
expected: FAIL
[EventTarget interface: calling addEventListener(DOMString, EventListener?, optional (AddEventListenerOptions or boolean)) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[Document interface: calling createExpression(DOMString, optional XPathNSResolver?) on xmlDoc with too few arguments must throw TypeError] [Document interface: calling createExpression(DOMString, optional XPathNSResolver?) on xmlDoc with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
@ -271,24 +331,36 @@
[XPathEvaluator interface object length] [XPathEvaluator interface object length]
expected: FAIL expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XPathEvaluator interface: new XPathEvaluator() must inherit property "evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?)" with the proper type] [XPathEvaluator interface: new XPathEvaluator() must inherit property "evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?)" with the proper type]
expected: FAIL expected: FAIL
[XPathEvaluator interface: calling evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?) on new XPathEvaluator() with too few arguments must throw TypeError] [XPathEvaluator interface: calling evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?) on new XPathEvaluator() with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "onabort" with the proper type]
expected: FAIL
[Document interface: calling evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?) on xmlDoc with too few arguments must throw TypeError] [Document interface: calling evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?) on xmlDoc with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[XPathResult interface: constant UNORDERED_NODE_SNAPSHOT_TYPE on interface object] [XPathResult interface: constant UNORDERED_NODE_SNAPSHOT_TYPE on interface object]
expected: FAIL expected: FAIL
[AbortController interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "stringValue" with the proper type] [XPathResult interface: document.evaluate("//*", document.body) must inherit property "stringValue" with the proper type]
expected: FAIL expected: FAIL
[XPathResult interface: attribute invalidIteratorState] [XPathResult interface: attribute invalidIteratorState]
expected: FAIL expected: FAIL
[AbortSignal interface: attribute onabort]
expected: FAIL
[Document interface: operation evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?)] [Document interface: operation evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?)]
expected: FAIL expected: FAIL
@ -298,9 +370,15 @@
[Document interface: operation createExpression(DOMString, optional XPathNSResolver?)] [Document interface: operation createExpression(DOMString, optional XPathNSResolver?)]
expected: FAIL expected: FAIL
[AbortSignal interface object length]
expected: FAIL
[XPathEvaluator interface: calling createNSResolver(Node) on new XPathEvaluator() with too few arguments must throw TypeError] [XPathEvaluator interface: calling createNSResolver(Node) on new XPathEvaluator() with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: existence and properties of interface prototype object]
expected: FAIL
[XPathResult interface: attribute numberValue] [XPathResult interface: attribute numberValue]
expected: FAIL expected: FAIL
@ -352,6 +430,9 @@
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "ORDERED_NODE_SNAPSHOT_TYPE" with the proper type] [XPathResult interface: document.evaluate("//*", document.body) must inherit property "ORDERED_NODE_SNAPSHOT_TYPE" with the proper type]
expected: FAIL expected: FAIL
[Stringification of new AbortController().signal]
expected: FAIL
[XPathResult interface: constant ANY_UNORDERED_NODE_TYPE on interface prototype object] [XPathResult interface: constant ANY_UNORDERED_NODE_TYPE on interface prototype object]
expected: FAIL expected: FAIL
@ -388,6 +469,9 @@
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "FIRST_ORDERED_NODE_TYPE" with the proper type] [XPathResult interface: document.evaluate("//*", document.body) must inherit property "FIRST_ORDERED_NODE_TYPE" with the proper type]
expected: FAIL expected: FAIL
[Stringification of new AbortController()]
expected: FAIL
[XPathExpression interface: calling evaluate(Node, optional unsigned short, optional XPathResult?) on document.createExpression("//*") with too few arguments must throw TypeError] [XPathExpression interface: calling evaluate(Node, optional unsigned short, optional XPathResult?) on document.createExpression("//*") with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
@ -553,18 +637,45 @@
[XSLTProcessor interface: new XSLTProcessor() must inherit property "reset()" with the proper type] [XSLTProcessor interface: new XSLTProcessor() must inherit property "reset()" with the proper type]
expected: FAIL expected: FAIL
[AbortController interface: operation abort(optional any)]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "abort(optional any)" with the proper type]
expected: FAIL
[AbortController interface: calling abort(optional any) on new AbortController() with too few arguments must throw TypeError]
expected: FAIL
[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]
expected: FAIL
[AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling abort(optional any) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "reason" with the proper type]
expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "throwIfAborted()" with the proper type]
expected: FAIL
[idl_test setup] [idl_test setup]
expected: FAIL expected: FAIL
[AbortSignal interface: operation timeout(unsigned long long)] [AbortSignal interface: operation timeout(unsigned long long)]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "timeout(unsigned long long)" with the proper type]
expected: FAIL
[AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling timeout(unsigned long long) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
@ -601,6 +712,9 @@
[AbortSignal interface: operation any(sequence<AbortSignal>)] [AbortSignal interface: operation any(sequence<AbortSignal>)]
expected: FAIL expected: FAIL
[AbortSignal interface: new AbortController().signal must inherit property "any(sequence<AbortSignal>)" with the proper type]
expected: FAIL
[AbortSignal interface: calling any(sequence<AbortSignal>) on new AbortController().signal with too few arguments must throw TypeError] [AbortSignal interface: calling any(sequence<AbortSignal>) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL expected: FAIL

View file

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

View file

@ -0,0 +1,2 @@
[destroyed-context.html]
expected: ERROR

View file

@ -5,13 +5,45 @@
expected: ERROR expected: ERROR
[general.any.html] [general.any.html]
expected: TIMEOUT
[Aborting rejects with AbortError] [Aborting rejects with AbortError]
expected: FAIL expected: FAIL
[Aborting rejects with AbortError - no-cors] [Aborting rejects with AbortError - no-cors]
expected: FAIL expected: FAIL
[TypeError from request constructor takes priority - RequestInit's window is not null]
expected: FAIL
[TypeError from request constructor takes priority - Input URL is not valid]
expected: FAIL
[TypeError from request constructor takes priority - Input URL has credentials]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's mode is navigate]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's referrer is invalid]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is invalid]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is forbidden]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin]
expected: FAIL
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors]
expected: FAIL
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors]
expected: FAIL
[TypeError from request constructor takes priority - Bad referrerPolicy init parameter value] [TypeError from request constructor takes priority - Bad referrerPolicy init parameter value]
expected: FAIL expected: FAIL
@ -45,6 +77,9 @@
[Signal retained after unrelated properties are overridden by fetch] [Signal retained after unrelated properties are overridden by fetch]
expected: FAIL expected: FAIL
[Signal removed by setting to null]
expected: FAIL
[Already aborted signal rejects immediately] [Already aborted signal rejects immediately]
expected: FAIL expected: FAIL
@ -85,31 +120,31 @@
expected: FAIL expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()] [Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
expected: TIMEOUT expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.blob()] [Fetch aborted & connection closed when aborted after calling response.blob()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.formData()] [Fetch aborted & connection closed when aborted after calling response.formData()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.json()] [Fetch aborted & connection closed when aborted after calling response.json()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.text()] [Fetch aborted & connection closed when aborted after calling response.text()]
expected: NOTRUN expected: FAIL
[Stream errors once aborted. Underlying connection closed.] [Stream errors once aborted. Underlying connection closed.]
expected: NOTRUN expected: FAIL
[Stream errors once aborted, after reading. Underlying connection closed.] [Stream errors once aborted, after reading. Underlying connection closed.]
expected: NOTRUN expected: FAIL
[Stream will not error if body is empty. It's closed with an empty queue before it errors.] [Stream will not error if body is empty. It's closed with an empty queue before it errors.]
expected: NOTRUN expected: FAIL
[Readable stream synchronously cancels with AbortError if aborted before reading] [Readable stream synchronously cancels with AbortError if aborted before reading]
expected: NOTRUN expected: FAIL
[Signal state is cloned] [Signal state is cloned]
expected: FAIL expected: FAIL
@ -125,13 +160,45 @@
[general.any.worker.html] [general.any.worker.html]
expected: TIMEOUT
[Aborting rejects with AbortError] [Aborting rejects with AbortError]
expected: FAIL expected: FAIL
[Aborting rejects with AbortError - no-cors] [Aborting rejects with AbortError - no-cors]
expected: FAIL expected: FAIL
[TypeError from request constructor takes priority - RequestInit's window is not null]
expected: FAIL
[TypeError from request constructor takes priority - Input URL is not valid]
expected: FAIL
[TypeError from request constructor takes priority - Input URL has credentials]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's mode is navigate]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's referrer is invalid]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is invalid]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is forbidden]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's mode is no-cors and method is not simple]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's cache mode is only-if-cached and mode is not same-origin]
expected: FAIL
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode cors]
expected: FAIL
[TypeError from request constructor takes priority - Request with cache mode: only-if-cached and fetch mode no-cors]
expected: FAIL
[TypeError from request constructor takes priority - Bad referrerPolicy init parameter value] [TypeError from request constructor takes priority - Bad referrerPolicy init parameter value]
expected: FAIL expected: FAIL
@ -165,6 +232,9 @@
[Signal retained after unrelated properties are overridden by fetch] [Signal retained after unrelated properties are overridden by fetch]
expected: FAIL expected: FAIL
[Signal removed by setting to null]
expected: FAIL
[Already aborted signal rejects immediately] [Already aborted signal rejects immediately]
expected: FAIL expected: FAIL
@ -205,31 +275,31 @@
expected: FAIL expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()] [Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
expected: TIMEOUT expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.blob()] [Fetch aborted & connection closed when aborted after calling response.blob()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.formData()] [Fetch aborted & connection closed when aborted after calling response.formData()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.json()] [Fetch aborted & connection closed when aborted after calling response.json()]
expected: NOTRUN expected: FAIL
[Fetch aborted & connection closed when aborted after calling response.text()] [Fetch aborted & connection closed when aborted after calling response.text()]
expected: NOTRUN expected: FAIL
[Stream errors once aborted. Underlying connection closed.] [Stream errors once aborted. Underlying connection closed.]
expected: NOTRUN expected: FAIL
[Stream errors once aborted, after reading. Underlying connection closed.] [Stream errors once aborted, after reading. Underlying connection closed.]
expected: NOTRUN expected: FAIL
[Stream will not error if body is empty. It's closed with an empty queue before it errors.] [Stream will not error if body is empty. It's closed with an empty queue before it errors.]
expected: NOTRUN expected: FAIL
[Readable stream synchronously cancels with AbortError if aborted before reading] [Readable stream synchronously cancels with AbortError if aborted before reading]
expected: NOTRUN expected: FAIL
[Signal state is cloned] [Signal state is cloned]
expected: FAIL expected: FAIL

View file

@ -1,7 +1,2 @@
[keepalive.html] [keepalive.html]
expected: TIMEOUT expected: ERROR
[aborting a keepalive fetch should work]
expected: TIMEOUT
[aborting a detached keepalive fetch should not do anything]
expected: NOTRUN

View file

@ -1,7 +1,25 @@
[request.any.html] [request.any.html]
[Calling arrayBuffer() on an aborted request]
expected: FAIL
[Aborting a request after calling arrayBuffer()]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed empty request]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed nonempty request] [Calling arrayBuffer() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[Calling blob() on an aborted request]
expected: FAIL
[Aborting a request after calling blob()]
expected: FAIL
[Calling blob() on an aborted consumed empty request]
expected: FAIL
[Calling blob() on an aborted consumed nonempty request] [Calling blob() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
@ -11,9 +29,27 @@
[Aborting a request after calling formData()] [Aborting a request after calling formData()]
expected: FAIL expected: FAIL
[Calling formData() on an aborted consumed nonempty request]
expected: FAIL
[Calling json() on an aborted request]
expected: FAIL
[Aborting a request after calling json()]
expected: FAIL
[Calling json() on an aborted consumed nonempty request] [Calling json() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[Calling text() on an aborted request]
expected: FAIL
[Aborting a request after calling text()]
expected: FAIL
[Calling text() on an aborted consumed empty request]
expected: FAIL
[Calling text() on an aborted consumed nonempty request] [Calling text() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
@ -25,9 +61,27 @@
expected: ERROR expected: ERROR
[request.any.worker.html] [request.any.worker.html]
[Calling arrayBuffer() on an aborted request]
expected: FAIL
[Aborting a request after calling arrayBuffer()]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed empty request]
expected: FAIL
[Calling arrayBuffer() on an aborted consumed nonempty request] [Calling arrayBuffer() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[Calling blob() on an aborted request]
expected: FAIL
[Aborting a request after calling blob()]
expected: FAIL
[Calling blob() on an aborted consumed empty request]
expected: FAIL
[Calling blob() on an aborted consumed nonempty request] [Calling blob() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
@ -37,8 +91,26 @@
[Aborting a request after calling formData()] [Aborting a request after calling formData()]
expected: FAIL expected: FAIL
[Calling formData() on an aborted consumed nonempty request]
expected: FAIL
[Calling json() on an aborted request]
expected: FAIL
[Aborting a request after calling json()]
expected: FAIL
[Calling json() on an aborted consumed nonempty request] [Calling json() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL
[Calling text() on an aborted request]
expected: FAIL
[Aborting a request after calling text()]
expected: FAIL
[Calling text() on an aborted consumed empty request]
expected: FAIL
[Calling text() on an aborted consumed nonempty request] [Calling text() on an aborted consumed nonempty request]
expected: FAIL expected: FAIL

View file

@ -1,10 +1,9 @@
[send-on-deactivate.tentative.https.window.html] [send-on-deactivate.tentative.https.window.html]
expected: TIMEOUT
[fetchLater() sends on page entering BFCache if BackgroundSync is off.] [fetchLater() sends on page entering BFCache if BackgroundSync is off.]
expected: FAIL expected: FAIL
[Call fetchLater() when BFCached with activateAfter=0 sends immediately.] [Call fetchLater() when BFCached with activateAfter=0 sends immediately.]
expected: TIMEOUT expected: FAIL
[fetchLater() sends on navigating away a page w/o BFCache.] [fetchLater() sends on navigating away a page w/o BFCache.]
expected: FAIL expected: FAIL

View file

@ -1,7 +1,6 @@
[document-state.https.html] [document-state.https.html]
expected: TIMEOUT
[A navigation's initiator origin and referrer are stored in the document state and used in the document repopulation case] [A navigation's initiator origin and referrer are stored in the document state and used in the document repopulation case]
expected: TIMEOUT expected: FAIL
[A navigation's initiator origin and referrer are stored in the document state and used on location.reload()] [A navigation's initiator origin and referrer are stored in the document state and used on location.reload()]
expected: NOTRUN expected: FAIL

View file

@ -1,6 +0,0 @@
[empty-iframe-load-event.html]
[Check execution order from nested timeout]
expected: FAIL
[Check execution order on load handler]
expected: FAIL

View file

@ -8,7 +8,7 @@
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='about:blank#foo'] [load & pageshow events do not fire on contentWindow of <iframe> element created with src='about:blank#foo']
expected: FAIL expected: FAIL
[load & pageshow events do not fire on contentWindow of <iframe> element created with src=''] [load & pageshow events do not fire on contentWindow of <iframe> element created with src='about:blank']
expected: FAIL expected: FAIL
[load & pageshow events do not fire on contentWindow of <iframe> element created with src=''] [load & pageshow events do not fire on contentWindow of <iframe> element created with src='']

View file

@ -0,0 +1,3 @@
[navigateToNew.window.html]
[RemoteContextWrapper navigateToNew]
expected: FAIL

View file

@ -1,4 +1,3 @@
[navigation-bfcache.window.html] [navigation-bfcache.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[navigation-helpers.window.html] [navigation-helpers.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation helpers] [RemoteContextHelper navigation helpers]
expected: TIMEOUT expected: FAIL

View file

@ -0,0 +1,3 @@
[navigation-same-document.window.html]
[RemoteContextHelper navigation using BFCache]
expected: FAIL

View file

@ -0,0 +1,3 @@
[unload-main-frame-cross-origin.window.html]
[Unload runs in main frame when navigating cross-origin.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[unload-main-frame-same-origin.window.html]
[Unload runs in main frame when navigating same-origin.]
expected: FAIL

View file

@ -1,4 +1,3 @@
[history-state-after-bfcache.window.html] [history-state-after-bfcache.window.html]
expected: TIMEOUT
[Navigating back to a bfcached page does not reset history.state] [Navigating back to a bfcached page does not reset history.state]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-attributes.tentative.window.html] [performance-navigation-timing-attributes.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-bfcache-reasons-stay.tentative.window.html] [performance-navigation-timing-bfcache-reasons-stay.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-bfcache.tentative.window.html] [performance-navigation-timing-bfcache.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-cross-origin-bfcache.tentative.window.html] [performance-navigation-timing-cross-origin-bfcache.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-fetch.tentative.window.html] [performance-navigation-timing-fetch.tentative.window.html]
expected: TIMEOUT
[Ensure that ongoing fetch upon entering bfcache blocks bfcache and recorded.] [Ensure that ongoing fetch upon entering bfcache blocks bfcache and recorded.]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-not-bfcached.tentative.window.html] [performance-navigation-timing-not-bfcached.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-redirect-on-history.tentative.window.html] [performance-navigation-timing-redirect-on-history.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-reload.tentative.window.html] [performance-navigation-timing-reload.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-same-origin-bfcache.tentative.window.html] [performance-navigation-timing-same-origin-bfcache.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[performance-navigation-timing-same-origin-replace.tentative.window.html] [performance-navigation-timing-same-origin-replace.tentative.window.html]
expected: TIMEOUT
[RemoteContextHelper navigation using BFCache] [RemoteContextHelper navigation using BFCache]
expected: TIMEOUT expected: FAIL

View file

@ -5,12 +5,18 @@
[compileStreaming() synchronously followed by abort should reject with AbortError] [compileStreaming() synchronously followed by abort should reject with AbortError]
expected: FAIL expected: FAIL
[compileStreaming() asynchronously racing with abort should succeed or reject with AbortError]
expected: FAIL
[instantiateStreaming() on an already-aborted request should reject with AbortError] [instantiateStreaming() on an already-aborted request should reject with AbortError]
expected: FAIL expected: FAIL
[instantiateStreaming() synchronously followed by abort should reject with AbortError] [instantiateStreaming() synchronously followed by abort should reject with AbortError]
expected: FAIL expected: FAIL
[instantiateStreaming() asynchronously racing with abort should succeed or reject with AbortError]
expected: FAIL
[abort.any.worker.html] [abort.any.worker.html]
[compileStreaming() on an already-aborted request should reject with AbortError] [compileStreaming() on an already-aborted request should reject with AbortError]
@ -19,8 +25,14 @@
[compileStreaming() synchronously followed by abort should reject with AbortError] [compileStreaming() synchronously followed by abort should reject with AbortError]
expected: FAIL expected: FAIL
[compileStreaming() asynchronously racing with abort should succeed or reject with AbortError]
expected: FAIL
[instantiateStreaming() on an already-aborted request should reject with AbortError] [instantiateStreaming() on an already-aborted request should reject with AbortError]
expected: FAIL expected: FAIL
[instantiateStreaming() synchronously followed by abort should reject with AbortError] [instantiateStreaming() synchronously followed by abort should reject with AbortError]
expected: FAIL expected: FAIL
[instantiateStreaming() asynchronously racing with abort should succeed or reject with AbortError]
expected: FAIL

View file

@ -1,5 +1,5 @@
[document-destroyed.tentative.window.html] [document-destroyed.tentative.window.html]
expected: TIMEOUT expected: ERROR
[The context is navigated to a new document and a close event is fired.] [The context is navigated to a new document and a close event is fired.]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,4 +1,3 @@
[back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.html] [back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.html]
expected: TIMEOUT
[Testing BFCache support for page with closed WebSocket connection and "Cache-Control: no-store" header.] [Testing BFCache support for page with closed WebSocket connection and "Cache-Control: no-store" header.]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[back-forward-cache-with-closed-websocket-connection.window.html] [back-forward-cache-with-closed-websocket-connection.window.html]
expected: TIMEOUT
[Testing BFCache support for page with closed WebSocket connection.] [Testing BFCache support for page with closed WebSocket connection.]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[back-forward-cache-with-open-websocket-connection-ccns.tentative.window.html] [back-forward-cache-with-open-websocket-connection-ccns.tentative.window.html]
expected: TIMEOUT
[Testing BFCache support for page with open WebSocket connection and "Cache-Control: no-store" header.] [Testing BFCache support for page with open WebSocket connection and "Cache-Control: no-store" header.]
expected: TIMEOUT expected: FAIL

View file

@ -1,4 +1,3 @@
[back-forward-cache-with-open-websocket-connection.window.html] [back-forward-cache-with-open-websocket-connection.window.html]
expected: TIMEOUT
[Testing BFCache support for page with open WebSocket connection.] [Testing BFCache support for page with open WebSocket connection.]
expected: TIMEOUT expected: FAIL

View file

@ -13417,14 +13417,14 @@
] ]
], ],
"interfaces.html": [ "interfaces.html": [
"6be4ef634a70ff2234d0db8cb2340e02a7c17100", "063495d90f464f161c52a8d099a298e914b9b082",
[ [
null, null,
{} {}
] ]
], ],
"interfaces.worker.js": [ "interfaces.worker.js": [
"0276a7485ada11f2fd0c26d02300cc35d633a8b4", "59d4aa1855fbf281736b28581fbc519a847c8a0d",
[ [
"mozilla/interfaces.worker.html", "mozilla/interfaces.worker.html",
{} {}

View file

@ -12,8 +12,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([
"AbstractRange", "AbstractRange",
"AbortController",
"AbortSignal",
"AnalyserNode", "AnalyserNode",
"AnimationEvent", "AnimationEvent",
"Attr", "Attr",

View file

@ -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",