mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
script: implement AbortController (#31361)
* Implement AbortController Signed-off-by: syvb <me@iter.ca> * Update WPT tests Signed-off-by: syvb <me@iter.ca> * Address review comments * Fix duplicate import generation * Update WPT test expectations * Change expectation to FAIL for flaky test --------- Signed-off-by: syvb <me@iter.ca>
This commit is contained in:
parent
383607d01e
commit
7fce850cff
88 changed files with 522 additions and 1194 deletions
59
components/script/dom/abortcontroller.rs
Normal file
59
components/script/dom/abortcontroller.rs
Normal file
|
@ -0,0 +1,59 @@
|
|||
/* 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);
|
||||
}
|
||||
}
|
139
components/script/dom/abortsignal.rs
Normal file
139
components/script/dom/abortsignal.rs
Normal file
|
@ -0,0 +1,139 @@
|
|||
/* 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 signal’s 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 signal’s abort algorithms: run algorithm.
|
||||
// 4. Empty signal’s 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 signal’s dependent signals,
|
||||
// signal abort on dependentSignal with signal’s 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2167,7 +2167,8 @@ class CGImports(CGWrapper):
|
|||
"""
|
||||
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.
|
||||
"""
|
||||
|
@ -2269,7 +2270,8 @@ class CGImports(CGWrapper):
|
|||
parentName = descriptor.getParentName()
|
||||
while parentName:
|
||||
descriptor = descriptorProvider.getDescriptor(parentName)
|
||||
extras += [descriptor.path, descriptor.bindingPath]
|
||||
if current_name != descriptor.ifaceName:
|
||||
extras += [descriptor.path, descriptor.bindingPath]
|
||||
parentName = descriptor.getParentName()
|
||||
elif t.isType() and t.isRecord():
|
||||
extras += ['crate::dom::bindings::record::Record']
|
||||
|
@ -6890,7 +6892,7 @@ class CGBindingRoot(CGThing):
|
|||
DomRoot codegen class for binding generation. Instantiate the class, and call
|
||||
declare or define to generate header or cpp code (respectively).
|
||||
"""
|
||||
def __init__(self, config, prefix, webIDLFile):
|
||||
def __init__(self, config, prefix, webIDLFile, name):
|
||||
descriptors = config.getDescriptors(webIDLFile=webIDLFile,
|
||||
hasInterfaceObject=True)
|
||||
# We also want descriptors that have an interface prototype object
|
||||
|
@ -6958,7 +6960,7 @@ class CGBindingRoot(CGThing):
|
|||
# These are the global imports (outside of the generated module)
|
||||
curr = CGImports(curr, descriptors=callbackDescriptors, callbacks=mainCallbacks,
|
||||
dictionaries=dictionaries, enums=enums, typedefs=typedefs,
|
||||
imports=['crate::dom::bindings::import::base::*'], config=config)
|
||||
imports=['crate::dom::bindings::import::base::*'], config=config, current_name=name)
|
||||
|
||||
# Add the auto-generated comment.
|
||||
curr = CGWrapper(curr, pre=AUTOGENERATED_WARNING_COMMENT + ALLOWED_WARNINGS)
|
||||
|
|
|
@ -232,6 +232,7 @@ class Descriptor(DescriptorProvider):
|
|||
self.register = desc.get('register', True)
|
||||
self.path = desc.get('path', pathDefault)
|
||||
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.outerObjectHook = desc.get('outerObjectHook', 'None')
|
||||
self.proxy = False
|
||||
|
|
|
@ -52,8 +52,9 @@ def main():
|
|||
|
||||
for webidl in webidls:
|
||||
filename = os.path.join(webidls_dir, webidl)
|
||||
prefix = "Bindings/%sBinding" % webidl[:-len(".webidl")]
|
||||
module = CGBindingRoot(config, prefix, filename).define()
|
||||
name = webidl[:-len(".webidl")]
|
||||
prefix = "Bindings/%sBinding" % name
|
||||
module = CGBindingRoot(config, prefix, filename, name).define()
|
||||
if module:
|
||||
with open(os.path.join(out_dir, prefix + ".rs"), "wb") as f:
|
||||
f.write(module.encode("utf-8"))
|
||||
|
|
|
@ -23,6 +23,7 @@ use servo_atoms::Atom;
|
|||
use servo_url::ServoUrl;
|
||||
|
||||
use super::bindings::trace::HashMapTracedValues;
|
||||
use crate::dom::abortsignal::AbortAlgorithm;
|
||||
use crate::dom::beforeunloadevent::BeforeUnloadEvent;
|
||||
use crate::dom::bindings::callback::{CallbackContainer, CallbackFunction, ExceptionHandling};
|
||||
use crate::dom::bindings::cell::DomRefCell;
|
||||
|
@ -704,7 +705,7 @@ impl EventTarget {
|
|||
None => return,
|
||||
};
|
||||
let mut handlers = self.handlers.borrow_mut();
|
||||
let entry = match handlers.entry(Atom::from(ty)) {
|
||||
let entry = match handlers.entry(Atom::from(ty.clone())) {
|
||||
Occupied(entry) => entry.into_mut(),
|
||||
Vacant(entry) => entry.insert(EventListeners(vec![])),
|
||||
};
|
||||
|
@ -716,12 +717,20 @@ impl EventTarget {
|
|||
};
|
||||
let new_entry = EventListenerEntry {
|
||||
phase,
|
||||
listener: EventListenerType::Additive(listener),
|
||||
listener: EventListenerType::Additive(Rc::clone(&listener)),
|
||||
once: options.once,
|
||||
};
|
||||
if !entry.contains(&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
|
||||
|
@ -801,6 +810,7 @@ impl From<AddEventListenerOptionsOrBoolean> for AddEventListenerOptions {
|
|||
AddEventListenerOptionsOrBoolean::Boolean(capture) => Self {
|
||||
parent: EventListenerOptions { capture },
|
||||
once: false,
|
||||
signal: None,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,6 +100,7 @@ impl MediaQueryListMethods for MediaQueryList {
|
|||
AddEventListenerOptions {
|
||||
parent: EventListenerOptions { capture: false },
|
||||
once: false,
|
||||
signal: None,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
@ -209,6 +209,8 @@ pub mod types {
|
|||
include!(concat!(env!("OUT_DIR"), "/InterfaceTypes.rs"));
|
||||
}
|
||||
|
||||
pub mod abortcontroller;
|
||||
pub mod abortsignal;
|
||||
pub mod abstractrange;
|
||||
pub mod abstractworker;
|
||||
pub mod abstractworkerglobalscope;
|
||||
|
|
13
components/script/dom/webidls/AbortController.webidl
Normal file
13
components/script/dom/webidls/AbortController.webidl
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* 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);
|
||||
};
|
17
components/script/dom/webidls/AbortSignal.webidl
Normal file
17
components/script/dom/webidls/AbortSignal.webidl
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* 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;
|
||||
};
|
|
@ -31,4 +31,5 @@ dictionary EventListenerOptions {
|
|||
dictionary AddEventListenerOptions : EventListenerOptions {
|
||||
// boolean passive = false;
|
||||
boolean once = false;
|
||||
AbortSignal signal;
|
||||
};
|
||||
|
|
|
@ -1,5 +1,62 @@
|
|||
[abort-signal-any.any.worker.html]
|
||||
expected: ERROR
|
||||
[AbortSignal.any() works with an empty array of signals]
|
||||
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]
|
||||
expected: ERROR
|
||||
[AbortSignal.any() works with an empty array of signals]
|
||||
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
|
||||
|
|
|
@ -3,33 +3,9 @@
|
|||
[AbortController() basics]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[event handler should not be called if added after controller.abort()]
|
||||
expected: FAIL
|
||||
|
||||
[the abort event should have the right properties]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(reason) should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[aborting AbortController without reason creates an "AbortError" DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(undefined) creates an "AbortError" DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(null) should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[static aborting signal should have right properties]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -42,48 +18,18 @@
|
|||
[throwIfAborted() should throw primitive abort.reason if signal aborted]
|
||||
expected: FAIL
|
||||
|
||||
[throwIfAborted() should not throw if signal not aborted]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController.signal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[event.any.worker.html]
|
||||
type: testharness
|
||||
[AbortController() basics]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[event handler should not be called if added after controller.abort()]
|
||||
expected: FAIL
|
||||
|
||||
[the abort event should have the right properties]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(reason) should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[aborting AbortController without reason creates an "AbortError" DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(undefined) creates an "AbortError" DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(null) should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[static aborting signal should have right properties]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -96,11 +42,5 @@
|
|||
[throwIfAborted() should throw primitive abort.reason if signal aborted]
|
||||
expected: FAIL
|
||||
|
||||
[throwIfAborted() should not throw if signal not aborted]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController.signal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,68 +1,14 @@
|
|||
[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]
|
||||
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]
|
||||
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]
|
||||
[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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null as the signal should throw]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null as the signal should throw (listener is also null)]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,172 +1,58 @@
|
|||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: new AbortController().signal must inherit property "addEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal must be primary interface of new AbortController().signal]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[Event interface: attribute composed]
|
||||
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)]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type]
|
||||
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]
|
||||
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]
|
||||
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()]
|
||||
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]
|
||||
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]
|
||||
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)]
|
||||
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()]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type]
|
||||
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)]
|
||||
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]
|
||||
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)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: operation any(sequence<AbortSignal>)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,15 +5,9 @@
|
|||
[Text interface: document.createTextNode("abc") must inherit property "assignedSlot" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal must be primary interface of new AbortController().signal]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "assignedSlot" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[Event interface: attribute composed]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -23,15 +17,9 @@
|
|||
[Text interface: attribute assignedSlot]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: attribute shadowRoot]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -47,15 +35,9 @@
|
|||
[EventTarget interface: new AbortController().signal must inherit property "removeEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -65,15 +47,9 @@
|
|||
[AbortController interface: operation abort()]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[CharacterData interface: operation replaceWith([object Object\],[object Object\])]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface: attribute signal]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: calling attachShadow(ShadowRootInit) on element with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -83,15 +59,6 @@
|
|||
[DocumentType interface: operation replaceWith([object Object\],[object Object\])]
|
||||
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()]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -104,15 +71,9 @@
|
|||
[Element interface: element must inherit property "slot" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface: new AbortController() must inherit property "signal" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentType interface: operation before([object Object\],[object Object\])]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface: new AbortController() must inherit property "abort()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -122,18 +83,9 @@
|
|||
[DocumentType interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: operation before([object Object\],[object Object\])]
|
||||
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)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -143,33 +95,15 @@
|
|||
[DocumentFragment interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
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\])]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentType interface: operation after([object Object\],[object Object\])]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -182,9 +116,6 @@
|
|||
[Element interface: operation remove()]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of new AbortController().signal]
|
||||
expected: FAIL
|
||||
|
||||
[DocumentFragment interface: operation prepend([object Object\],[object Object\])]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -194,9 +125,6 @@
|
|||
[CharacterData interface: operation before([object Object\],[object Object\])]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of new AbortController()]
|
||||
expected: FAIL
|
||||
|
||||
[CharacterData interface: operation after([object Object\],[object Object\])]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -530,15 +458,6 @@
|
|||
[Document interface: operation prepend((Node or DOMString)...)]
|
||||
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?)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -584,9 +503,6 @@
|
|||
[DocumentType interface: operation before((Node or DOMString)...)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -758,45 +674,18 @@
|
|||
[XSLTProcessor interface: new XSLTProcessor() must inherit property "reset()" with the proper type]
|
||||
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)]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: operation timeout(unsigned long long)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -833,9 +722,6 @@
|
|||
[AbortSignal interface: operation any(sequence<AbortSignal>)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[interface-objects.html]
|
||||
type: testharness
|
||||
[Should be able to delete AbortController.]
|
||||
expected: FAIL
|
||||
|
||||
[Should be able to delete AbortSignal.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,93 +1,35 @@
|
|||
[Document-createElement-namespace.html]
|
||||
disabled: extremely frequent intermittent crash
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[Created element's namespace in created SVG document by DOMParser ('image/svg+xml')]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
[destroyed-context.html]
|
||||
expected: ERROR
|
||||
[destroyed-context]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[general.any.worker.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -12,36 +13,6 @@
|
|||
[Aborting rejects with AbortError - no-cors]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -75,9 +46,6 @@
|
|||
[Signal retained after unrelated properties are overridden by fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[Already aborted signal rejects immediately]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -115,31 +83,31 @@
|
|||
expected: FAIL
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.blob()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.formData()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.json()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.text()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted, after reading. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Readable stream synchronously cancels with AbortError if aborted before reading]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Signal state is cloned]
|
||||
expected: FAIL
|
||||
|
@ -147,9 +115,6 @@
|
|||
[Clone aborts with original controller]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's method is invalid]
|
||||
expected: FAIL
|
||||
|
||||
[Call text() twice on aborted response]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -162,6 +127,7 @@
|
|||
|
||||
[general.any.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -174,36 +140,6 @@
|
|||
[Aborting rejects with AbortError - no-cors]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -219,9 +155,6 @@
|
|||
[TypeError from request constructor takes priority - Bad redirect init parameter value]
|
||||
expected: FAIL
|
||||
|
||||
[TypeError from request constructor takes priority - RequestInit's method is invalid]
|
||||
expected: FAIL
|
||||
|
||||
[Request objects have a signal property]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -240,9 +173,6 @@
|
|||
[Signal retained after unrelated properties are overridden by fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[Already aborted signal rejects immediately]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -280,31 +210,31 @@
|
|||
expected: FAIL
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.blob()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.formData()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.json()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.text()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted, after reading. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Readable stream synchronously cancels with AbortError if aborted before reading]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Signal state is cloned]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
[keepalive.html]
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[keepalive]
|
||||
expected: FAIL
|
||||
|
||||
[aborting a keepalive fetch should work]
|
||||
expected: TIMEOUT
|
||||
|
||||
[aborting a detached keepalive fetch should not do anything]
|
||||
expected: NOTRUN
|
||||
|
|
|
@ -2,27 +2,9 @@
|
|||
expected: ERROR
|
||||
|
||||
[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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -32,53 +14,17 @@
|
|||
[Aborting a request after calling formData()]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -88,27 +34,9 @@
|
|||
[Aborting a request after calling formData()]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
[send-on-deactivate.tentative.https.window.html]
|
||||
expected: TIMEOUT
|
||||
[fetchLater() sends on page entering BFCache if BackgroundSync is off.]
|
||||
expected: FAIL
|
||||
|
||||
[Call fetchLater() when BFCached with activateAfter=0 sends immediately.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[fetchLater() sends on navigating away a page w/o BFCache.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[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]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[A navigation's initiator origin and referrer are stored in the document state and used on location.reload()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
|
|
@ -10,3 +10,6 @@
|
|||
|
||||
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='about:blank']
|
||||
expected: FAIL
|
||||
|
||||
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='']
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[navigateToNew.window.html]
|
||||
[RemoteContextWrapper navigateToNew]
|
||||
expected: FAIL
|
|
@ -1,3 +1,4 @@
|
|||
[navigation-bfcache.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[navigation-helpers.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation helpers]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[navigation-same-document.window.html]
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[unload-main-frame-cross-origin.window.html]
|
||||
[Unload runs in main frame when navigating cross-origin.]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[unload-main-frame-same-origin.window.html]
|
||||
[Unload runs in main frame when navigating same-origin.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,4 @@
|
|||
[history-state-after-bfcache.window.html]
|
||||
expected: TIMEOUT
|
||||
[Navigating back to a bfcached page does not reset history.state]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-attributes.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-bfcache-reasons-stay.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-bfcache.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-cross-origin-bfcache.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-fetch.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[Ensure that ongoing fetch upon entering bfcache blocks bfcache and recorded.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-not-bfcached.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-redirect-on-history.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-reload.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-same-origin-bfcache.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-same-origin-replace.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -11,12 +11,6 @@
|
|||
[compileStreaming() synchronously followed by abort should reject with AbortError]
|
||||
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]
|
||||
[instantiateStreaming() on an already-aborted request should reject with AbortError]
|
||||
|
@ -30,10 +24,3 @@
|
|||
|
||||
[compileStreaming() synchronously followed by abort should reject with AbortError]
|
||||
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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[document-destroyed.tentative.window.html]
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[The context is navigated to a new document and a close event is fired.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[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.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[back-forward-cache-with-closed-websocket-connection.window.html]
|
||||
expected: TIMEOUT
|
||||
[Testing BFCache support for page with closed WebSocket connection.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[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.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[back-forward-cache-with-open-websocket-connection.window.html]
|
||||
expected: TIMEOUT
|
||||
[Testing BFCache support for page with open WebSocket connection.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,5 +1,62 @@
|
|||
[abort-signal-any.any.worker.html]
|
||||
expected: ERROR
|
||||
[AbortSignal.any() works with an empty array of signals]
|
||||
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]
|
||||
expected: ERROR
|
||||
[AbortSignal.any() works with an empty array of signals]
|
||||
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
|
||||
|
|
|
@ -1,31 +1,7 @@
|
|||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[event handler should not be called if added after controller.abort()]
|
||||
expected: FAIL
|
||||
|
||||
[the abort event should have the right properties]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(reason) should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[aborting AbortController without reason creates an "AbortError" DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(undefined) creates an "AbortError" DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(null) should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[static aborting signal should have right properties]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -38,44 +14,14 @@
|
|||
[throwIfAborted() should throw primitive abort.reason if signal aborted]
|
||||
expected: FAIL
|
||||
|
||||
[throwIfAborted() should not throw if signal not aborted]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController.signal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[event handler should not be called if added after controller.abort()]
|
||||
expected: FAIL
|
||||
|
||||
[the abort event should have the right properties]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(reason) should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[aborting AbortController without reason creates an "AbortError" DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(undefined) creates an "AbortError" DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController abort(null) should set signal.reason]
|
||||
expected: FAIL
|
||||
|
||||
[static aborting signal should have right properties]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -88,11 +34,5 @@
|
|||
[throwIfAborted() should throw primitive abort.reason if signal aborted]
|
||||
expected: FAIL
|
||||
|
||||
[throwIfAborted() should not throw if signal not aborted]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController.signal.reason returns the same DOMException]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,68 +1,14 @@
|
|||
[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]
|
||||
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]
|
||||
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]
|
||||
[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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null as the signal should throw]
|
||||
expected: FAIL
|
||||
|
||||
[Passing null as the signal should throw (listener is also null)]
|
||||
expected: FAIL
|
||||
|
|
|
@ -17,146 +17,32 @@
|
|||
[Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type]
|
||||
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()]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: operation abort()]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: attribute aborted]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: attribute onabort]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal must be primary interface of new AbortController().signal]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of new AbortController().signal]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: new AbortController().signal must inherit property "abort()" with the proper type]
|
||||
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)]
|
||||
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]
|
||||
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)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: operation any(sequence<AbortSignal>)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
|
|
@ -28,18 +28,12 @@
|
|||
[XPathEvaluator interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal must be primary interface of new AbortController().signal]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: constant NUMBER_TYPE on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "assignedSlot" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[Text interface: document.createTextNode("abc") must inherit property "assignedSlot" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -52,15 +46,9 @@
|
|||
[Text interface: attribute assignedSlot]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: constant STRING_TYPE on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -70,27 +58,12 @@
|
|||
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "ORDERED_NODE_ITERATOR_TYPE" 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 "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]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "UNORDERED_NODE_ITERATOR_TYPE" 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
|
||||
|
||||
[Element interface: operation attachShadow(ShadowRootInit)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -106,9 +79,6 @@
|
|||
[AbortController interface: operation abort()]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: constant UNORDERED_NODE_ITERATOR_TYPE on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -118,9 +88,6 @@
|
|||
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "ANY_UNORDERED_NODE_TYPE" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface: attribute signal]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: constant UNORDERED_NODE_SNAPSHOT_TYPE on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -136,9 +103,6 @@
|
|||
[CharacterData interface: operation before((Node or DOMString)...)]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: attribute aborted]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: operation snapshotItem(unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -154,12 +118,6 @@
|
|||
[Element interface: operation after((Node or DOMString)...)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -205,9 +163,6 @@
|
|||
[XPathExpression interface: operation evaluate(Node, optional unsigned short, optional XPathResult?)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -232,9 +187,6 @@
|
|||
[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
|
||||
|
||||
[AbortController interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[XPathExpression interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -265,15 +217,9 @@
|
|||
[DocumentType interface: operation replaceWith((Node or DOMString)...)]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -310,12 +256,6 @@
|
|||
[XPathResult interface: constant ORDERED_NODE_SNAPSHOT_TYPE on interface prototype object]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -331,36 +271,24 @@
|
|||
[XPathEvaluator interface object length]
|
||||
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]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: constant UNORDERED_NODE_SNAPSHOT_TYPE on interface object]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: attribute invalidIteratorState]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: attribute onabort]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: operation evaluate(DOMString, Node, optional XPathNSResolver?, optional unsigned short, optional XPathResult?)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -370,15 +298,9 @@
|
|||
[Document interface: operation createExpression(DOMString, optional XPathNSResolver?)]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[XPathEvaluator interface: calling createNSResolver(Node) on new XPathEvaluator() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: attribute numberValue]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -430,9 +352,6 @@
|
|||
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "ORDERED_NODE_SNAPSHOT_TYPE" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of new AbortController().signal]
|
||||
expected: FAIL
|
||||
|
||||
[XPathResult interface: constant ANY_UNORDERED_NODE_TYPE on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -469,9 +388,6 @@
|
|||
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "FIRST_ORDERED_NODE_TYPE" with the proper type]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -637,45 +553,18 @@
|
|||
[XSLTProcessor interface: new XSLTProcessor() must inherit property "reset()" with the proper type]
|
||||
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)]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[AbortSignal interface: operation timeout(unsigned long long)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -712,9 +601,6 @@
|
|||
[AbortSignal interface: operation any(sequence<AbortSignal>)]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[interface-objects.html]
|
||||
[Should be able to delete AbortController.]
|
||||
expected: FAIL
|
||||
|
||||
[Should be able to delete AbortSignal.]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[destroyed-context.html]
|
||||
expected: ERROR
|
|
@ -5,45 +5,13 @@
|
|||
expected: ERROR
|
||||
|
||||
[general.any.html]
|
||||
expected: TIMEOUT
|
||||
[Aborting rejects with AbortError]
|
||||
expected: FAIL
|
||||
|
||||
[Aborting rejects with AbortError - no-cors]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -77,9 +45,6 @@
|
|||
[Signal retained after unrelated properties are overridden by fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[Already aborted signal rejects immediately]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -120,31 +85,31 @@
|
|||
expected: FAIL
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.blob()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.formData()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.json()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.text()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted, after reading. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Readable stream synchronously cancels with AbortError if aborted before reading]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Signal state is cloned]
|
||||
expected: FAIL
|
||||
|
@ -160,45 +125,13 @@
|
|||
|
||||
|
||||
[general.any.worker.html]
|
||||
expected: TIMEOUT
|
||||
[Aborting rejects with AbortError]
|
||||
expected: FAIL
|
||||
|
||||
[Aborting rejects with AbortError - no-cors]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -232,9 +165,6 @@
|
|||
[Signal retained after unrelated properties are overridden by fetch]
|
||||
expected: FAIL
|
||||
|
||||
[Signal removed by setting to null]
|
||||
expected: FAIL
|
||||
|
||||
[Already aborted signal rejects immediately]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -275,31 +205,31 @@
|
|||
expected: FAIL
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.arrayBuffer()]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.blob()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.formData()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.json()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Fetch aborted & connection closed when aborted after calling response.text()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream errors once aborted, after reading. Underlying connection closed.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Stream will not error if body is empty. It's closed with an empty queue before it errors.]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Readable stream synchronously cancels with AbortError if aborted before reading]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Signal state is cloned]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
[keepalive.html]
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[aborting a keepalive fetch should work]
|
||||
expected: TIMEOUT
|
||||
|
||||
[aborting a detached keepalive fetch should not do anything]
|
||||
expected: NOTRUN
|
||||
|
|
|
@ -1,25 +1,7 @@
|
|||
[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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -29,27 +11,9 @@
|
|||
[Aborting a request after calling formData()]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -61,27 +25,9 @@
|
|||
expected: ERROR
|
||||
|
||||
[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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -91,26 +37,8 @@
|
|||
[Aborting a request after calling formData()]
|
||||
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]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
[send-on-deactivate.tentative.https.window.html]
|
||||
expected: TIMEOUT
|
||||
[fetchLater() sends on page entering BFCache if BackgroundSync is off.]
|
||||
expected: FAIL
|
||||
|
||||
[Call fetchLater() when BFCached with activateAfter=0 sends immediately.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[fetchLater() sends on navigating away a page w/o BFCache.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[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]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[A navigation's initiator origin and referrer are stored in the document state and used on location.reload()]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
[empty-iframe-load-event.html]
|
||||
[Check execution order from nested timeout]
|
||||
expected: FAIL
|
||||
|
||||
[Check execution order on load handler]
|
||||
expected: FAIL
|
|
@ -8,7 +8,7 @@
|
|||
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='about:blank#foo']
|
||||
expected: FAIL
|
||||
|
||||
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='about:blank']
|
||||
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='']
|
||||
expected: FAIL
|
||||
|
||||
[load & pageshow events do not fire on contentWindow of <iframe> element created with src='']
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[navigateToNew.window.html]
|
||||
[RemoteContextWrapper navigateToNew]
|
||||
expected: FAIL
|
|
@ -1,3 +1,4 @@
|
|||
[navigation-bfcache.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[navigation-helpers.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation helpers]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[navigation-same-document.window.html]
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[unload-main-frame-cross-origin.window.html]
|
||||
[Unload runs in main frame when navigating cross-origin.]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[unload-main-frame-same-origin.window.html]
|
||||
[Unload runs in main frame when navigating same-origin.]
|
||||
expected: FAIL
|
|
@ -1,3 +1,4 @@
|
|||
[history-state-after-bfcache.window.html]
|
||||
expected: TIMEOUT
|
||||
[Navigating back to a bfcached page does not reset history.state]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-attributes.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-bfcache-reasons-stay.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-bfcache.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-cross-origin-bfcache.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-fetch.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[Ensure that ongoing fetch upon entering bfcache blocks bfcache and recorded.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-not-bfcached.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-redirect-on-history.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-reload.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-same-origin-bfcache.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[performance-navigation-timing-same-origin-replace.tentative.window.html]
|
||||
expected: TIMEOUT
|
||||
[RemoteContextHelper navigation using BFCache]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -5,18 +5,12 @@
|
|||
[compileStreaming() synchronously followed by abort should reject with AbortError]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[instantiateStreaming() synchronously followed by abort should reject with AbortError]
|
||||
expected: FAIL
|
||||
|
||||
[instantiateStreaming() asynchronously racing with abort should succeed or reject with AbortError]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[abort.any.worker.html]
|
||||
[compileStreaming() on an already-aborted request should reject with AbortError]
|
||||
|
@ -25,14 +19,8 @@
|
|||
[compileStreaming() synchronously followed by abort should reject with AbortError]
|
||||
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]
|
||||
expected: FAIL
|
||||
|
||||
[instantiateStreaming() synchronously followed by abort should reject with AbortError]
|
||||
expected: FAIL
|
||||
|
||||
[instantiateStreaming() asynchronously racing with abort should succeed or reject with AbortError]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[document-destroyed.tentative.window.html]
|
||||
expected: ERROR
|
||||
expected: TIMEOUT
|
||||
[The context is navigated to a new document and a close event is fired.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[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.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[back-forward-cache-with-closed-websocket-connection.window.html]
|
||||
expected: TIMEOUT
|
||||
[Testing BFCache support for page with closed WebSocket connection.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[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.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[back-forward-cache-with-open-websocket-connection.window.html]
|
||||
expected: TIMEOUT
|
||||
[Testing BFCache support for page with open WebSocket connection.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -13417,14 +13417,14 @@
|
|||
]
|
||||
],
|
||||
"interfaces.html": [
|
||||
"063495d90f464f161c52a8d099a298e914b9b082",
|
||||
"6be4ef634a70ff2234d0db8cb2340e02a7c17100",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"interfaces.worker.js": [
|
||||
"59d4aa1855fbf281736b28581fbc519a847c8a0d",
|
||||
"0276a7485ada11f2fd0c26d02300cc35d633a8b4",
|
||||
[
|
||||
"mozilla/interfaces.worker.html",
|
||||
{}
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
// IMPORTANT: Do not change the list below without review from a DOM peer!
|
||||
test_interfaces([
|
||||
"AbstractRange",
|
||||
"AbortController",
|
||||
"AbortSignal",
|
||||
"AnalyserNode",
|
||||
"AnimationEvent",
|
||||
"Attr",
|
||||
|
|
|
@ -7,6 +7,8 @@ importScripts("interfaces.js");
|
|||
|
||||
// IMPORTANT: Do not change the list below without review from a DOM peer!
|
||||
test_interfaces([
|
||||
"AbortController",
|
||||
"AbortSignal",
|
||||
"Blob",
|
||||
"BroadcastChannel",
|
||||
"ByteLengthQueuingStrategy",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue