diff --git a/components/script/dom/bindings/callback.rs b/components/script/dom/bindings/callback.rs index c7a09fcc4d8..7b837df1fed 100644 --- a/components/script/dom/bindings/callback.rs +++ b/components/script/dom/bindings/callback.rs @@ -191,7 +191,7 @@ impl<'a> Drop for CallSetup<'a> { JS_LeaveCompartment(self.cx, self.old_compartment); if self.handling == ExceptionHandling::Report { let _ac = JSAutoCompartment::new(self.cx, *self.exception_compartment); - report_pending_exception(self.cx); + report_pending_exception(self.cx, true); } } } diff --git a/components/script/dom/bindings/error.rs b/components/script/dom/bindings/error.rs index 6c26ae8502c..752f0d75b49 100644 --- a/components/script/dom/bindings/error.rs +++ b/components/script/dom/bindings/error.rs @@ -8,7 +8,7 @@ use dom::bindings::codegen::Bindings::DOMExceptionBinding::DOMExceptionMethods; use dom::bindings::codegen::PrototypeList::proto_id_to_name; use dom::bindings::conversions::root_from_object; use dom::bindings::conversions::{ConversionResult, FromJSValConvertible, ToJSValConvertible}; -use dom::bindings::global::GlobalRef; +use dom::bindings::global::{GlobalRef, global_root_from_context}; use dom::bindings::str::USVString; use dom::domexception::{DOMErrorName, DOMException}; use js::error::{throw_range_error, throw_type_error}; @@ -132,11 +132,16 @@ pub unsafe fn throw_dom_exception(cx: *mut JSContext, global: GlobalRef, result: JS_SetPendingException(cx, thrown.handle()); } -struct ErrorInfo { - filename: String, - message: String, - lineno: c_uint, - column: c_uint, +/// A struct encapsulating information about a runtime script error. +pub struct ErrorInfo { + /// The error message. + pub message: String, + /// The file name. + pub filename: String, + /// The line number. + pub lineno: c_uint, + /// The column number. + pub column: c_uint, } impl ErrorInfo { @@ -192,7 +197,10 @@ impl ErrorInfo { } /// Report a pending exception, thereby clearing it. -pub unsafe fn report_pending_exception(cx: *mut JSContext) { +/// +/// The `dispatch_event` argument is temporary and non-standard; passing false +/// prevents dispatching the `error` event. +pub unsafe fn report_pending_exception(cx: *mut JSContext, dispatch_event: bool) { if JS_IsExceptionPending(cx) { rooted!(in(cx) let mut value = UndefinedValue()); if !JS_GetPendingException(cx, value.handle_mut()) { @@ -202,22 +210,31 @@ pub unsafe fn report_pending_exception(cx: *mut JSContext) { } JS_ClearPendingException(cx); - if !value.is_object() { - match USVString::from_jsval(cx, value.handle(), ()) { - Ok(ConversionResult::Success(USVString(string))) => error!("Uncaught exception: {}", string), - _ => error!("Uncaught exception: failed to stringify primitive"), + let error_info = if value.is_object() { + rooted!(in(cx) let object = value.to_object()); + let error_info = ErrorInfo::from_native_error(cx, object.handle()) + .or_else(|| ErrorInfo::from_dom_exception(object.handle())); + match error_info { + Some(error_info) => error_info, + None => { + error!("Uncaught exception: failed to extract information"); + return; + } } - return; - } - - rooted!(in(cx) let object = value.to_object()); - let error_info = ErrorInfo::from_native_error(cx, object.handle()) - .or_else(|| ErrorInfo::from_dom_exception(object.handle())); - let error_info = match error_info { - Some(error_info) => error_info, - None => { - error!("Uncaught exception: failed to extract information"); - return; + } else { + match USVString::from_jsval(cx, value.handle(), ()) { + Ok(ConversionResult::Success(USVString(string))) => { + ErrorInfo { + message: format!("uncaught exception: {}", string), + filename: String::new(), + lineno: 0, + column: 0, + } + }, + _ => { + error!("Uncaught exception: failed to stringify primitive"); + return; + }, } }; @@ -226,6 +243,13 @@ pub unsafe fn report_pending_exception(cx: *mut JSContext) { error_info.lineno, error_info.column, error_info.message); + + if dispatch_event { + let global = global_root_from_context(cx); + if let GlobalRef::Window(window) = global.r() { + window.report_an_error(error_info, value.handle()); + } + } } } diff --git a/components/script/dom/eventtarget.rs b/components/script/dom/eventtarget.rs index 29a6b4102f8..c941eb8e20e 100644 --- a/components/script/dom/eventtarget.rs +++ b/components/script/dom/eventtarget.rs @@ -427,7 +427,8 @@ impl EventTarget { // Step 1.8.2 unsafe { let _ac = JSAutoCompartment::new(cx, self.reflector().get_jsobject().get()); - report_pending_exception(cx); + // FIXME(#13152): dispatch error event. + report_pending_exception(cx, false); } // Step 1.8.1 / 1.8.3 return None; diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index b6bf6a35643..d1529b44b19 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -14,7 +14,7 @@ use dom::bindings::codegen::Bindings::FunctionBinding::Function; use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods; use dom::bindings::codegen::Bindings::WindowBinding::{ScrollBehavior, ScrollToOptions}; use dom::bindings::codegen::Bindings::WindowBinding::{self, FrameRequestCallback, WindowMethods}; -use dom::bindings::error::{Error, ErrorResult, Fallible, report_pending_exception}; +use dom::bindings::error::{Error, ErrorResult, Fallible, report_pending_exception, ErrorInfo}; use dom::bindings::global::{GlobalRef, global_root_from_object}; use dom::bindings::inheritance::Castable; use dom::bindings::js::{JS, MutNullableHeap, Root}; @@ -30,7 +30,8 @@ use dom::crypto::Crypto; use dom::cssstyledeclaration::{CSSModificationAccess, CSSStyleDeclaration}; use dom::document::Document; use dom::element::Element; -use dom::event::Event; +use dom::errorevent::ErrorEvent; +use dom::event::{Event, EventBubbles, EventCancelable}; use dom::eventtarget::EventTarget; use dom::history::History; use dom::htmliframeelement::build_mozbrowser_custom_event; @@ -273,6 +274,9 @@ pub struct Window { /// A list of scroll offsets for each scrollable element. scroll_offsets: DOMRefCell>>, + + /// https://html.spec.whatwg.org/multipage/#in-error-reporting-mode + in_error_reporting_mode: Cell } impl Window { @@ -952,7 +956,7 @@ impl<'a, T: Reflectable> ScriptHelpers for &'a T { code.len() as libc::size_t, rval) { debug!("error evaluating JS string"); - report_pending_exception(cx); + report_pending_exception(cx, true); } } @@ -1742,6 +1746,7 @@ impl Window { ignore_further_async_events: Arc::new(AtomicBool::new(false)), error_reporter: error_reporter, scroll_offsets: DOMRefCell::new(HashMap::new()), + in_error_reporting_mode: Cell::new(false), }; WindowBinding::Wrap(runtime.cx(), win) @@ -1749,6 +1754,34 @@ impl Window { pub fn live_devtools_updates(&self) -> bool { return self.devtools_wants_updates.get(); } + + /// https://html.spec.whatwg.org/multipage/#report-the-error + pub fn report_an_error(&self, error_info: ErrorInfo, value: HandleValue) { + // Step 1. + if self.in_error_reporting_mode.get() { + return; + } + + // Step 2. + self.in_error_reporting_mode.set(true); + + // Steps 3-12. + let event = ErrorEvent::new(GlobalRef::Window(self), + atom!("error"), + EventBubbles::DoesNotBubble, + EventCancelable::Cancelable, + error_info.message.into(), + error_info.filename.into(), + error_info.lineno, + error_info.column, + value); + + // Step 13. + event.upcast::().fire(self.upcast::()); + + // Step 14. + self.in_error_reporting_mode.set(false); + } } fn should_move_clip_rect(clip_rect: Rect, new_viewport: Rect) -> bool { diff --git a/components/script/dom/workerglobalscope.rs b/components/script/dom/workerglobalscope.rs index 1b3c48b9c12..9f61753ca64 100644 --- a/components/script/dom/workerglobalscope.rs +++ b/components/script/dom/workerglobalscope.rs @@ -384,7 +384,7 @@ impl WorkerGlobalScope { unsafe { let _ac = JSAutoCompartment::new(self.runtime.cx(), self.reflector().get_jsobject().get()); - report_pending_exception(self.runtime.cx()); + report_pending_exception(self.runtime.cx(), true); } } } diff --git a/tests/wpt/metadata-css/cssom-1_dev/html/cssstylerule.htm.ini b/tests/wpt/metadata-css/cssom-1_dev/html/cssstylerule.htm.ini index 97917e06ed1..42a59247827 100644 --- a/tests/wpt/metadata-css/cssom-1_dev/html/cssstylerule.htm.ini +++ b/tests/wpt/metadata-css/cssom-1_dev/html/cssstylerule.htm.ini @@ -1,3 +1,3 @@ [cssstylerule.htm] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata-css/cssom-1_dev/html/index-003.htm.ini b/tests/wpt/metadata-css/cssom-1_dev/html/index-003.htm.ini index 6e693db55f4..b23072d78f6 100644 --- a/tests/wpt/metadata-css/cssom-1_dev/html/index-003.htm.ini +++ b/tests/wpt/metadata-css/cssom-1_dev/html/index-003.htm.ini @@ -1,3 +1,3 @@ [index-003.htm] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata-css/cssom-1_dev/html/matchMedia.htm.ini b/tests/wpt/metadata-css/cssom-1_dev/html/matchMedia.htm.ini index daabbc1209f..2a539197b3e 100644 --- a/tests/wpt/metadata-css/cssom-1_dev/html/matchMedia.htm.ini +++ b/tests/wpt/metadata-css/cssom-1_dev/html/matchMedia.htm.ini @@ -1,3 +1,3 @@ [matchMedia.htm] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata-css/cssom-view-1_dev/html/matchMedia.htm.ini b/tests/wpt/metadata-css/cssom-view-1_dev/html/matchMedia.htm.ini index daabbc1209f..2a539197b3e 100644 --- a/tests/wpt/metadata-css/cssom-view-1_dev/html/matchMedia.htm.ini +++ b/tests/wpt/metadata-css/cssom-view-1_dev/html/matchMedia.htm.ini @@ -1,3 +1,3 @@ [matchMedia.htm] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata-css/cssom-view-1_dev/html/matchMediaAddListener.htm.ini b/tests/wpt/metadata-css/cssom-view-1_dev/html/matchMediaAddListener.htm.ini index 344a9bed565..ffeb9814148 100644 --- a/tests/wpt/metadata-css/cssom-view-1_dev/html/matchMediaAddListener.htm.ini +++ b/tests/wpt/metadata-css/cssom-view-1_dev/html/matchMediaAddListener.htm.ini @@ -1,3 +1,3 @@ [matchMediaAddListener.htm] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/WebCryptoAPI/digest/test_digest.html.ini b/tests/wpt/metadata/WebCryptoAPI/digest/test_digest.html.ini index 12a8e7a456e..e6b83e69ffb 100644 --- a/tests/wpt/metadata/WebCryptoAPI/digest/test_digest.html.ini +++ b/tests/wpt/metadata/WebCryptoAPI/digest/test_digest.html.ini @@ -1,5 +1,6 @@ [test_digest.html] type: testharness + expected: ERROR [SHA-1 with empty source data] expected: FAIL diff --git a/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.html.ini b/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.html.ini index 64813e32026..d3f3666db2c 100644 --- a/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.html.ini +++ b/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_cbc.html.ini @@ -1,3 +1,3 @@ [test_aes_cbc.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.html.ini b/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.html.ini index defde57339d..6b5d4b8d2a7 100644 --- a/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.html.ini +++ b/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_ctr.html.ini @@ -1,3 +1,3 @@ [test_aes_ctr.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.html.ini b/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.html.ini index 1345145f8ef..34d2f30b48c 100644 --- a/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.html.ini +++ b/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_aes_gcm.html.ini @@ -1,3 +1,3 @@ [test_aes_gcm.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.html.ini b/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.html.ini index 4b37722a2a4..b4772cdd379 100644 --- a/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.html.ini +++ b/tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep.html.ini @@ -1,3 +1,3 @@ [test_rsa_oaep.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/XMLHttpRequest/open-url-multi-window-6.htm.ini b/tests/wpt/metadata/XMLHttpRequest/open-url-multi-window-6.htm.ini index 2f530615db1..50740305a60 100644 --- a/tests/wpt/metadata/XMLHttpRequest/open-url-multi-window-6.htm.ini +++ b/tests/wpt/metadata/XMLHttpRequest/open-url-multi-window-6.htm.ini @@ -1,6 +1,6 @@ [open-url-multi-window-6.htm] type: testharness - expected: TIMEOUT + expected: ERROR [XMLHttpRequest: open() in document that is not fully active (but may be active) should throw] expected: NOTRUN diff --git a/tests/wpt/metadata/dom/events/Event-dispatch-throwing.html.ini b/tests/wpt/metadata/dom/events/Event-dispatch-throwing.html.ini deleted file mode 100644 index a4a0a2984a8..00000000000 --- a/tests/wpt/metadata/dom/events/Event-dispatch-throwing.html.ini +++ /dev/null @@ -1,8 +0,0 @@ -[Event-dispatch-throwing.html] - type: testharness - [Throwing in event listener with a single listeners] - expected: FAIL - - [Throwing in event listener with multiple listeners] - expected: FAIL - diff --git a/tests/wpt/metadata/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html.ini b/tests/wpt/metadata/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html.ini index f093f1ded77..737a76f0227 100644 --- a/tests/wpt/metadata/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html.ini +++ b/tests/wpt/metadata/dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html.ini @@ -1,6 +1,5 @@ [Element-getElementsByTagName-change-document-HTMLNess.html] type: testharness - expected: TIMEOUT [Untitled] - expected: NOTRUN + expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/request/request-cache.html.ini b/tests/wpt/metadata/fetch/api/request/request-cache.html.ini index d7fe7a80d22..f9bf8428a70 100644 --- a/tests/wpt/metadata/fetch/api/request/request-cache.html.ini +++ b/tests/wpt/metadata/fetch/api/request/request-cache.html.ini @@ -1,5 +1,6 @@ [request-cache.html] type: testharness + expected: ERROR [RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with Etag and stale response] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/request/request-clone.sub.html.ini b/tests/wpt/metadata/fetch/api/request/request-clone.sub.html.ini index 2c21911f957..82cde19ce37 100644 --- a/tests/wpt/metadata/fetch/api/request/request-clone.sub.html.ini +++ b/tests/wpt/metadata/fetch/api/request/request-clone.sub.html.ini @@ -1,3 +1,3 @@ [request-clone.sub.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/fetch/api/request/request-consume-empty.html.ini b/tests/wpt/metadata/fetch/api/request/request-consume-empty.html.ini index e0101fd9b2b..e50ab07ae2a 100644 --- a/tests/wpt/metadata/fetch/api/request/request-consume-empty.html.ini +++ b/tests/wpt/metadata/fetch/api/request/request-consume-empty.html.ini @@ -1,5 +1,6 @@ [request-consume-empty.html] type: testharness + expected: ERROR [Consume request's body as text] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/request/request-consume.html.ini b/tests/wpt/metadata/fetch/api/request/request-consume.html.ini index 75e18b2bfe4..2493d1473c9 100644 --- a/tests/wpt/metadata/fetch/api/request/request-consume.html.ini +++ b/tests/wpt/metadata/fetch/api/request/request-consume.html.ini @@ -1,5 +1,6 @@ [request-consume.html] type: testharness + expected: ERROR [Consume request's body as text] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/request/request-disturbed.html.ini b/tests/wpt/metadata/fetch/api/request/request-disturbed.html.ini index a2b95d17574..2eed840f857 100644 --- a/tests/wpt/metadata/fetch/api/request/request-disturbed.html.ini +++ b/tests/wpt/metadata/fetch/api/request/request-disturbed.html.ini @@ -1,3 +1,3 @@ [request-disturbed.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/fetch/api/request/request-init-002.html.ini b/tests/wpt/metadata/fetch/api/request/request-init-002.html.ini index 5d57d8d8684..34c703c4aba 100644 --- a/tests/wpt/metadata/fetch/api/request/request-init-002.html.ini +++ b/tests/wpt/metadata/fetch/api/request/request-init-002.html.ini @@ -1,5 +1,6 @@ [request-init-002.html] type: testharness + expected: ERROR [Initialize Request with headers values] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/request/request-init-003.sub.html.ini b/tests/wpt/metadata/fetch/api/request/request-init-003.sub.html.ini index 39385626add..83baaaab7f1 100644 --- a/tests/wpt/metadata/fetch/api/request/request-init-003.sub.html.ini +++ b/tests/wpt/metadata/fetch/api/request/request-init-003.sub.html.ini @@ -1,3 +1,3 @@ [request-init-003.sub.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/fetch/api/response/response-cancel-stream.html.ini b/tests/wpt/metadata/fetch/api/response/response-cancel-stream.html.ini index be76aacfd32..58237104f8b 100644 --- a/tests/wpt/metadata/fetch/api/response/response-cancel-stream.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-cancel-stream.html.ini @@ -1,5 +1,6 @@ [response-cancel-stream.html] type: testharness + expected: ERROR [Cancelling a starting blob Response stream] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-clone.html.ini b/tests/wpt/metadata/fetch/api/response/response-clone.html.ini index 94b4e987938..a570446c57c 100644 --- a/tests/wpt/metadata/fetch/api/response/response-clone.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-clone.html.ini @@ -1,3 +1,3 @@ [response-clone.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/fetch/api/response/response-consume-empty.html.ini b/tests/wpt/metadata/fetch/api/response/response-consume-empty.html.ini index f0fa305c15b..d5a984585f9 100644 --- a/tests/wpt/metadata/fetch/api/response/response-consume-empty.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-consume-empty.html.ini @@ -1,5 +1,6 @@ [response-consume-empty.html] type: testharness + expected: ERROR [Consume response's body as text] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-consume-stream.html.ini b/tests/wpt/metadata/fetch/api/response/response-consume-stream.html.ini index 04287d6d68c..3d642c940ff 100644 --- a/tests/wpt/metadata/fetch/api/response/response-consume-stream.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-consume-stream.html.ini @@ -1,5 +1,6 @@ [response-consume-stream.html] type: testharness + expected: ERROR [Read empty text response's body as readableStream] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-consume.html.ini b/tests/wpt/metadata/fetch/api/response/response-consume.html.ini index 97139ca9e82..aee0ff74cf1 100644 --- a/tests/wpt/metadata/fetch/api/response/response-consume.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-consume.html.ini @@ -1,5 +1,6 @@ [response-consume.html] type: testharness + expected: ERROR [Consume response's body as text] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-init-001.html.ini b/tests/wpt/metadata/fetch/api/response/response-init-001.html.ini index e731802d714..132f3e5549d 100644 --- a/tests/wpt/metadata/fetch/api/response/response-init-001.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-init-001.html.ini @@ -1,3 +1,3 @@ [response-init-001.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/fetch/api/response/response-init-002.html.ini b/tests/wpt/metadata/fetch/api/response/response-init-002.html.ini index d71723c7593..49a729ba72e 100644 --- a/tests/wpt/metadata/fetch/api/response/response-init-002.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-init-002.html.ini @@ -1,5 +1,6 @@ [response-init-002.html] type: testharness + expected: ERROR [Initialize Response with headers values] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-1.html.ini b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-1.html.ini index a6ec197400f..4c28dac3f46 100644 --- a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-1.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-1.html.ini @@ -1,5 +1,6 @@ [response-stream-disturbed-1.html] type: testharness + expected: ERROR [Getting blob after getting the Response body - not disturbed, not locked] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-2.html.ini b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-2.html.ini index 6772061abef..a0f69bb460b 100644 --- a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-2.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-2.html.ini @@ -1,5 +1,6 @@ [response-stream-disturbed-2.html] type: testharness + expected: ERROR [Getting blob after getting a locked Response body] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-3.html.ini b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-3.html.ini index 0ecbe8fb87f..1fae2e402d2 100644 --- a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-3.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-3.html.ini @@ -1,5 +1,6 @@ [response-stream-disturbed-3.html] type: testharness + expected: ERROR [Getting blob after reading the Response body] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-4.html.ini b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-4.html.ini index f8a0b5dd02f..2a663209676 100644 --- a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-4.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-4.html.ini @@ -1,5 +1,6 @@ [response-stream-disturbed-4.html] type: testharness + expected: ERROR [Getting blob after cancelling the Response body] expected: FAIL diff --git a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-5.html.ini b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-5.html.ini index 7ef7a35a549..647919f227e 100644 --- a/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-5.html.ini +++ b/tests/wpt/metadata/fetch/api/response/response-stream-disturbed-5.html.ini @@ -1,5 +1,6 @@ [response-stream-disturbed-5.html] type: testharness + expected: ERROR [Getting a body reader after consuming as blob] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/008.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/008.html.ini index 9fbd1fc405a..a110968a8b5 100644 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/008.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/008.html.ini @@ -1,3 +1,3 @@ [008.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/001.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/001.html.ini index 5656ec3a8ae..7ae291525bf 100644 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/001.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/001.html.ini @@ -1,6 +1,6 @@ [001.html] type: testharness - expected: TIMEOUT + expected: ERROR [Session history length on initial load] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/002.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/002.html.ini index 9dfb95ad692..5b47fc659d5 100644 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/002.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/joint_session_history/002.html.ini @@ -1,6 +1,6 @@ [002.html] type: testharness - expected: TIMEOUT + expected: ERROR [Session history length on initial load] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/allow_prototype_cycle_through_location.sub.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/allow_prototype_cycle_through_location.sub.html.ini index a7900cfcffb..79cd003bfbb 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/allow_prototype_cycle_through_location.sub.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/allow_prototype_cycle_through_location.sub.html.ini @@ -1,6 +1,6 @@ [allow_prototype_cycle_through_location.sub.html] type: testharness - expected: TIMEOUT + expected: ERROR [same-origin, same-window location cycle] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_open_write.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_open_write.html.ini index 3581149133b..895d2f2f282 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_open_write.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_open_write.html.ini @@ -1,3 +1,3 @@ [reload_document_open_write.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_write.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_write.html.ini index ac1b8e161f1..f1271ddf73e 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_write.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_write.html.ini @@ -1,3 +1,3 @@ [reload_document_write.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_write_onload.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_write_onload.html.ini index 6fcc25bc6fd..304a036f4d4 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_write_onload.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_document_write_onload.html.ini @@ -1,3 +1,3 @@ [reload_document_write_onload.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_post_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_post_1.html.ini index 2fe874f0d4e..673247284e4 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_post_1.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/reload_post_1.html.ini @@ -1,3 +1,3 @@ [reload_post_1.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_click_assign_during_load.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_click_assign_during_load.html.ini index 91e07a6e800..e7844bf0924 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_click_assign_during_load.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_click_assign_during_load.html.ini @@ -1,6 +1,6 @@ [scripted_click_assign_during_load.html] type: testharness - expected: TIMEOUT + expected: ERROR [Assignment to location with click during load] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load.html.ini index 8f36b5dcbcf..e63972ce41e 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_click_location_assign_during_load.html.ini @@ -1,6 +1,6 @@ [scripted_click_location_assign_during_load.html] type: testharness - expected: TIMEOUT + expected: ERROR [location.assign with click during load] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load.html.ini index ff39780cf08..40a4ab9d7c6 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/scripted_form_submit_assign_during_load.html.ini @@ -1,6 +1,6 @@ [scripted_form_submit_assign_during_load.html] type: testharness - expected: TIMEOUT + expected: ERROR [Assignment to location with form submit during load] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html.ini b/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html.ini index 0499a659c5c..e189163568f 100644 --- a/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html.ini +++ b/tests/wpt/metadata/html/browsers/origin/cross-origin-objects/cross-origin-objects.sub.html.ini @@ -1,3 +1,3 @@ [cross-origin-objects.sub.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_beforeunload.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_beforeunload.html.ini index ce4d9304e98..83bd871d725 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_beforeunload.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_beforeunload.html.ini @@ -1,6 +1,6 @@ [close_beforeunload.html] type: testharness - expected: TIMEOUT + expected: ERROR [Running beforeunload handler in window.close()] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload.html.ini index 930d7151043..935275388a6 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/close_unload.html.ini @@ -1,6 +1,6 @@ [close_unload.html] type: testharness - expected: TIMEOUT + expected: ERROR [Running unload handler in window.close()] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_1.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_1.html.ini index b6c81e5196b..882045d2623 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_1.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_1.html.ini @@ -1,6 +1,6 @@ [discard_iframe_history_1.html] type: testharness - expected: TIMEOUT + expected: ERROR [Removing iframe from document removes it from history] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_2.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_2.html.ini index 74e7c2f251a..864fe9a325f 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_2.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_2.html.ini @@ -1,6 +1,6 @@ [discard_iframe_history_2.html] type: testharness - expected: TIMEOUT + expected: ERROR [Removing iframe from document via innerHTML removes it from history] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3.html.ini index 1f29c8de881..0d6e7127dab 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_3.html.ini @@ -1,6 +1,6 @@ [discard_iframe_history_3.html] type: testharness - expected: TIMEOUT + expected: ERROR [Removing iframe from document removes it from history] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4.html.ini index f46ff721163..31ff6be6133 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/discard_iframe_history_4.html.ini @@ -1,6 +1,6 @@ [discard_iframe_history_4.html] type: testharness - expected: TIMEOUT + expected: ERROR [Removing iframe from document removes it from history] expected: NOTRUN diff --git a/tests/wpt/metadata/html/browsers/windows/browsing-context-names/browsing-context-choose-existing.html.ini b/tests/wpt/metadata/html/browsers/windows/browsing-context-names/browsing-context-choose-existing.html.ini index c07030aeb15..ef3c2d48767 100644 --- a/tests/wpt/metadata/html/browsers/windows/browsing-context-names/browsing-context-choose-existing.html.ini +++ b/tests/wpt/metadata/html/browsers/windows/browsing-context-names/browsing-context-choose-existing.html.ini @@ -1,6 +1,6 @@ [browsing-context-choose-existing.html] type: testharness - expected: TIMEOUT + expected: ERROR [The browsing context must be chosen if the given name is same as its name] expected: NOTRUN diff --git a/tests/wpt/metadata/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html.ini b/tests/wpt/metadata/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html.ini index fd1e429124c..fb4628a00e5 100644 --- a/tests/wpt/metadata/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html.ini +++ b/tests/wpt/metadata/html/dom/documents/dom-tree-accessors/Document.currentScript.sub.html.ini @@ -1,9 +1,6 @@ [Document.currentScript.sub.html] type: testharness expected: TIMEOUT - [Script script-window-error] - expected: FAIL - [Script script-svg] expected: NOTRUN diff --git a/tests/wpt/metadata/html/dom/interfaces.html.ini b/tests/wpt/metadata/html/dom/interfaces.html.ini index dd76d5dcadb..3ae6e829747 100644 --- a/tests/wpt/metadata/html/dom/interfaces.html.ini +++ b/tests/wpt/metadata/html/dom/interfaces.html.ini @@ -9002,3 +9002,4 @@ [Event interface: calling initEvent(DOMString,boolean,boolean) on new TrackEvent("addtrack", {track:document.createElement("track").track}) with too few arguments must throw TypeError] expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/video_008.htm.ini b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/video_008.htm.ini index 4fa459700a7..0e01160852a 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/media-elements/video_008.htm.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/media-elements/video_008.htm.ini @@ -1,6 +1,6 @@ [video_008.htm] type: testharness - expected: TIMEOUT + expected: ERROR [HTML5 Media Elements: 'media' attribute] expected: NOTRUN diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html.ini index be4402dbca6..10e46d478e3 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html.ini @@ -1,6 +1,6 @@ [iframe_sandbox_allow_script.html] type: testharness - expected: TIMEOUT + expected: ERROR [iframe_sandbox_allow_scripts] expected: NOTRUN diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_01.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_01.html.ini index e9672847d22..b7bccb267f9 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_01.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_01.html.ini @@ -1,3 +1,3 @@ [move_iframe_in_dom_01.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_02.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_02.html.ini index 03601194318..8a741a2d5fd 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_02.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_02.html.ini @@ -1,3 +1,3 @@ [move_iframe_in_dom_02.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_04.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_04.html.ini index 13d7ef39130..8c607ee10fb 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_04.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/move_iframe_in_dom_04.html.ini @@ -1,3 +1,3 @@ [move_iframe_in_dom_04.html] type: testharness - expected: TIMEOUT + expected: ERROR diff --git a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-checkValidity.html.ini b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-checkValidity.html.ini index 73428d4850a..080328d4b58 100644 --- a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-checkValidity.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-checkValidity.html.ini @@ -1,5 +1,6 @@ [form-validation-checkValidity.html] type: testharness + expected: ERROR [[INPUT in TEXT status\] no constraint] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-reportValidity.html.ini b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-reportValidity.html.ini index e476982e25e..f73f41718dd 100644 --- a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-reportValidity.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-reportValidity.html.ini @@ -1,5 +1,6 @@ [form-validation-reportValidity.html] type: testharness + expected: ERROR [[INPUT in TEXT status\] no constraint] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-customError.html.ini b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-customError.html.ini index e3fef6c774d..e9618f1c032 100644 --- a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-customError.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-customError.html.ini @@ -1,5 +1,6 @@ [form-validation-validity-customError.html] type: testharness + expected: ERROR [[input\] The validity.customError must be true if the custom validity error message is not empty] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-valid.html.ini b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-valid.html.ini index 63b2c0816b3..39e9741de44 100644 --- a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-valid.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-valid.html.ini @@ -1,5 +1,6 @@ [form-validation-validity-valid.html] type: testharness + expected: ERROR [[INPUT in TEXT status\] validity.valid must be false if validity.tooLong is true] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-valueMissing.html.ini b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-valueMissing.html.ini index f18a1d0dd25..1ffe2031536 100644 --- a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-valueMissing.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-validity-valueMissing.html.ini @@ -1,5 +1,6 @@ [form-validation-validity-valueMissing.html] type: testharness + expected: ERROR [[INPUT in TEXT status\] The required attribute is not set] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-willValidate.html.ini b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-willValidate.html.ini index e6f2f9ce64b..13516e5ccde 100644 --- a/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-willValidate.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/constraints/form-validation-willValidate.html.ini @@ -1,5 +1,6 @@ [form-validation-willValidate.html] type: testharness + expected: ERROR [[INPUT in HIDDEN status\] Must be barred from the constraint validation] expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/animation-frames/callback-exception.html.ini b/tests/wpt/metadata/html/webappapis/animation-frames/callback-exception.html.ini deleted file mode 100644 index 43ac27f20e2..00000000000 --- a/tests/wpt/metadata/html/webappapis/animation-frames/callback-exception.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[callback-exception.html] - type: testharness - expected: TIMEOUT - bug: https://github.com/servo/servo/issues/3311 - [requestAnimationFrame callback exceptions are reported to error handler] - expected: TIMEOUT - diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/addEventListener.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/addEventListener.html.ini new file mode 100644 index 00000000000..266639e92b7 --- /dev/null +++ b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/addEventListener.html.ini @@ -0,0 +1,5 @@ +[addEventListener.html] + type: testharness + [window.onerror - addEventListener] + expected: FAIL + diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-compile-error-data-url.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-compile-error-data-url.html.ini deleted file mode 100644 index 1a3156ca26b..00000000000 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-compile-error-data-url.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[body-onerror-compile-error-data-url.html] - type: testharness - [<] - expected: FAIL - diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-compile-error.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-compile-error.html.ini deleted file mode 100644 index c009f751560..00000000000 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-compile-error.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[body-onerror-compile-error.html] - type: testharness - [<] - expected: FAIL - diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-runtime-error.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-runtime-error.html.ini deleted file mode 100644 index 0e6f04a7f42..00000000000 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/body-onerror-runtime-error.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[body-onerror-runtime-error.html] - type: testharness - [<] - expected: FAIL - diff --git a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-data-url.html.ini b/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-data-url.html.ini deleted file mode 100644 index ad87012754f..00000000000 --- a/tests/wpt/metadata/html/webappapis/scripting/processing-model-2/compile-error-data-url.html.ini +++ /dev/null @@ -1,8 +0,0 @@ -[compile-error-data-url.html] - type: testharness - [window.onerror - compile error in ] - expected: FAIL - - [window.onerror - compile error in