diff options
author | Ridhim Rastogi <ridhimrastogi@gmail.com> | 2019-11-03 16:47:24 -0500 |
---|---|---|
committer | Ridhim Rastogi <ridhimrastogi@gmail.com> | 2019-11-11 16:48:52 -0500 |
commit | 563961826f9f526f8c5c125a23d90cd2ae165762 (patch) | |
tree | e7e0d705280d168bc18b4ec2579ece4bb04aac8b | |
parent | 905f714bb4b2959f1735cc7469969696eac56d47 (diff) | |
download | servo-563961826f9f526f8c5c125a23d90cd2ae165762.tar.gz servo-563961826f9f526f8c5c125a23d90cd2ae165762.zip |
Add consume stream callback
22 files changed, 510 insertions, 1279 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs index 10198050ace..f240bb170d6 100644 --- a/components/script/script_runtime.rs +++ b/components/script/script_runtime.rs @@ -7,9 +7,14 @@ #![allow(dead_code)] +use crate::body::BodyOperations; use crate::dom::bindings::codegen::Bindings::PromiseBinding::PromiseJobCallback; +use crate::dom::bindings::codegen::Bindings::ResponseBinding::ResponseBinding::ResponseMethods; +use crate::dom::bindings::codegen::Bindings::ResponseBinding::ResponseType as DOMResponseType; use crate::dom::bindings::conversions::get_dom_class; use crate::dom::bindings::conversions::private_from_object; +use crate::dom::bindings::conversions::root_from_handleobject; +use crate::dom::bindings::error::{throw_dom_exception, Error}; use crate::dom::bindings::inheritance::Castable; use crate::dom::bindings::refcounted::{trace_refcounted_objects, LiveDOMReferences}; use crate::dom::bindings::refcounted::{Trusted, TrustedPromise}; @@ -23,6 +28,7 @@ use crate::dom::eventtarget::EventTarget; use crate::dom::globalscope::GlobalScope; use crate::dom::promise::Promise; use crate::dom::promiserejectionevent::PromiseRejectionEvent; +use crate::dom::response::Response; use crate::microtask::{EnqueuedPromiseCallback, Microtask, MicrotaskQueue}; use crate::script_thread::trace_thread; use crate::task::TaskBox; @@ -31,6 +37,10 @@ use js::glue::{CollectServoSizes, CreateJobQueue, DeleteJobQueue, JobQueueTraps, use js::glue::{RUST_js_GetErrorMessage, StreamConsumerConsumeChunk, StreamConsumerStreamEnd}; use js::glue::{StreamConsumerNoteResponseURLs, StreamConsumerStreamError}; use js::jsapi::ContextOptionsRef; +use js::jsapi::Dispatchable; +use js::jsapi::InitConsumeStreamCallback; +use js::jsapi::InitDispatchToEventLoop; +use js::jsapi::MimeType; use js::jsapi::StreamConsumer as JSStreamConsumer; use js::jsapi::{BuildIdCharVector, DisableIncrementalGC, GCDescription, GCProgress}; use js::jsapi::{HandleObject, Heap, JobQueue}; @@ -46,6 +56,7 @@ use js::jsval::UndefinedValue; use js::panic::wrap_panic; use js::rust::wrappers::{GetPromiseIsHandled, JS_GetPromiseResult}; use js::rust::Handle; +use js::rust::HandleObject as RustHandleObject; use js::rust::IntoHandle; use js::rust::JSEngine; use js::rust::ParentRuntime; @@ -424,6 +435,16 @@ unsafe fn new_rt_and_cx_with_parent(parent: Option<ParentRuntime>) -> Runtime { // Pre barriers aren't working correctly at the moment DisableIncrementalGC(cx); + unsafe extern "C" fn dispatch_to_event_loop( + _closure: *mut c_void, + _dispatchable: *mut Dispatchable, + ) -> bool { + false + } + InitDispatchToEventLoop(cx, Some(dispatch_to_event_loop), ptr::null_mut()); + + InitConsumeStreamCallback(cx, Some(consume_stream), Some(report_stream_error)); + let microtask_queue = Rc::new(MicrotaskQueue::default()); let job_queue = CreateJobQueue( &JOB_QUEUE_TRAPS, @@ -825,8 +846,94 @@ impl StreamConsumer { } } +/// Implements the steps to compile webassembly response mentioned here +/// <https://webassembly.github.io/spec/web-api/#compile-a-potential-webassembly-response> +#[allow(unsafe_code)] +unsafe extern "C" fn consume_stream( + _cx: *mut RawJSContext, + obj: HandleObject, + _mimeType: MimeType, + _consumer: *mut JSStreamConsumer, +) -> bool { + let cx = JSContext::from_ptr(_cx); + let global = GlobalScope::from_context(*cx); + + //Step 2.1 Upon fulfillment of source, store the Response with value unwrappedSource. + if let Ok(unwrapped_source) = + root_from_handleobject::<Response>(RustHandleObject::from_raw(obj), *cx) + { + //Step 2.2 Let mimeType be the result of extracting a MIME type from response’s header list. + let mimetype = unwrapped_source.Headers().extract_mime_type(); + + //Step 2.3 If mimeType is not `application/wasm`, return with a TypeError and abort these substeps. + match &mimetype[..] { + b"application/wasm" | b"APPLICATION/wasm" | b"APPLICATION/WASM" => {}, + _ => { + throw_dom_exception( + cx, + &global, + Error::Type("Response has unsupported MIME type".to_string()), + ); + return false; + }, + } + + //Step 2.4 If response is not CORS-same-origin, return with a TypeError and abort these substeps. + match unwrapped_source.Type() { + DOMResponseType::Basic | DOMResponseType::Cors | DOMResponseType::Default => {}, + _ => { + throw_dom_exception( + cx, + &global, + Error::Type("Response.type must be 'basic', 'cors' or 'default'".to_string()), + ); + return false; + }, + } + + //Step 2.5 If response’s status is not an ok status, return with a TypeError and abort these substeps. + if !unwrapped_source.Ok() { + throw_dom_exception( + cx, + &global, + Error::Type("Response does not have ok status".to_string()), + ); + return false; + } + + // Step 2.6.1 If response body is locked, return with a TypeError and abort these substeps. + if unwrapped_source.is_locked() { + throw_dom_exception( + cx, + &global, + Error::Type("There was an error consuming the Response".to_string()), + ); + return false; + } + + // Step 2.6.2 If response body is alreaady consumed, return with a TypeError and abort these substeps. + if unwrapped_source.get_body_used() { + throw_dom_exception( + cx, + &global, + Error::Type("Response already consumed".to_string()), + ); + return false; + } + } else { + //Step 3 Upon rejection of source, return with reason. + throw_dom_exception( + cx, + &global, + Error::Type("expected Response or Promise resolving to Response".to_string()), + ); + return false; + } + return true; +} + #[allow(unsafe_code)] -unsafe extern "C" fn report_stream_error_callback(_cx: *mut JSContext, error_code: usize) { +unsafe extern "C" fn report_stream_error(_cx: *mut RawJSContext, error_code: usize) { error!( "Error initializing StreamConsumer: {:?}", RUST_js_GetErrorMessage(ptr::null_mut(), error_code as u32) diff --git a/tests/wpt/metadata/wasm/jsapi/constructor/compile.any.js.ini b/tests/wpt/metadata/wasm/jsapi/constructor/compile.any.js.ini index 09f88246190..1731b54fe7f 100644 --- a/tests/wpt/metadata/wasm/jsapi/constructor/compile.any.js.ini +++ b/tests/wpt/metadata/wasm/jsapi/constructor/compile.any.js.ini @@ -1,57 +1,41 @@ [compile.any.worker.html] - [Invalid arguments] - expected: FAIL - + expected: TIMEOUT [Invalid code] - expected: FAIL + expected: NOTRUN [Branding] - expected: FAIL - - [Missing argument] - expected: FAIL + expected: TIMEOUT [Result type] - expected: FAIL - - [Promise type] - expected: FAIL + expected: NOTRUN [Changing the buffer] - expected: FAIL + expected: NOTRUN [Stray argument] - expected: FAIL + expected: NOTRUN [Empty buffer] - expected: FAIL + expected: NOTRUN [compile.any.html] - [Invalid arguments] - expected: FAIL - + expected: TIMEOUT [Invalid code] - expected: FAIL + expected: NOTRUN [Branding] - expected: FAIL - - [Missing argument] - expected: FAIL + expected: TIMEOUT [Result type] - expected: FAIL - - [Promise type] - expected: FAIL + expected: NOTRUN [Changing the buffer] - expected: FAIL + expected: NOTRUN [Stray argument] - expected: FAIL + expected: NOTRUN [Empty buffer] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/wasm/jsapi/constructor/instantiate-bad-imports.any.js.ini b/tests/wpt/metadata/wasm/jsapi/constructor/instantiate-bad-imports.any.js.ini index a142be26645..0a6db46c342 100644 --- a/tests/wpt/metadata/wasm/jsapi/constructor/instantiate-bad-imports.any.js.ini +++ b/tests/wpt/metadata/wasm/jsapi/constructor/instantiate-bad-imports.any.js.ini @@ -1,747 +1,335 @@ [instantiate-bad-imports.any.html] - [WebAssembly.instantiate(module): Non-object module: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: null] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: null] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: 0.1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: true] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: object "[object Object\]"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing an i64 global] - expected: FAIL - - [WebAssembly.instantiate(module): Imports argument with missing property: empty object] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: true] - expected: FAIL - - [WebAssembly.instantiate(module): Imports argument with missing property: wrong property] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Imports argument with missing property: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: null] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: 0.1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: 0.1] - expected: FAIL - - [WebAssembly.instantiate(module): Missing imports argument] - expected: FAIL - + expected: TIMEOUT [WebAssembly.instantiate(buffer): Imports argument with missing property: wrong property] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: Object.create(WebAssembly.Table.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: undefined] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing an i64 global] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: WebAssembly.Memory.prototype] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: 1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: WebAssembly.Global] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: WebAssembly.Memory.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: object "[object Object\]"] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: WebAssembly.Global.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: WebAssembly.Memory] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: WebAssembly.Table] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Imports argument with missing property: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Imports argument with missing property: empty object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: WebAssembly.Global.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: Object.create(WebAssembly.Memory.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: NaN] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: Object.create(WebAssembly.Global.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Missing imports argument] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: Object.create(WebAssembly.Table.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: TIMEOUT [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: WebAssembly.Table] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: plain object] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: null] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: 1] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: WebAssembly.Table.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: Object.create(WebAssembly.Memory.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: 0.1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: WebAssembly.Global] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: Object.create(WebAssembly.Global.prototype)] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: undefined] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: WebAssembly.Table.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: WebAssembly.Memory] - expected: FAIL + expected: NOTRUN [instantiate-bad-imports.any.worker.html] - [WebAssembly.instantiate(module): Non-object module: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: null] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: null] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: 0.1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: true] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: object "[object Object\]"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing an i64 global] - expected: FAIL - - [WebAssembly.instantiate(module): Imports argument with missing property: empty object] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: true] - expected: FAIL - - [WebAssembly.instantiate(module): Imports argument with missing property: wrong property] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Imports argument with missing property: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: null] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: 0.1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a function with an incorrectly-typed value: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object module: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Non-object imports argument: 0.1] - expected: FAIL - - [WebAssembly.instantiate(module): Missing imports argument] - expected: FAIL - + expected: TIMEOUT [WebAssembly.instantiate(buffer): Imports argument with missing property: wrong property] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: Object.create(WebAssembly.Table.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: undefined] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: ""] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing an i64 global] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: WebAssembly.Memory.prototype] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: 1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: WebAssembly.Global] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: WebAssembly.Memory.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: object "[object Object\]"] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: WebAssembly.Global.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: WebAssembly.Memory] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: WebAssembly.Table] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Imports argument with missing property: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Imports argument with missing property: empty object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: WebAssembly.Global.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: true] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: 1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: Object.create(WebAssembly.Memory.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: NaN] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: Object.create(WebAssembly.Global.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Missing imports argument] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: Object.create(WebAssembly.Table.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: TIMEOUT [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: WebAssembly.Table] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: plain object] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: null] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: 1] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: WebAssembly.Table.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: Object.create(WebAssembly.Memory.prototype)] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: 0.1] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: WebAssembly.Global] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Importing a global with an incorrectly-typed value: Object.create(WebAssembly.Global.prototype)] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: undefined] - expected: FAIL - - [WebAssembly.instantiate(buffer): Non-object imports argument: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a global with an incorrectly-typed value: undefined] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: NaN] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: WebAssembly.Table.prototype] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing a function with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Non-object module: null] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: plain object] - expected: FAIL - - [WebAssembly.instantiate(module): Importing memory with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing table with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL - - [WebAssembly.instantiate(module): Importing table with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [WebAssembly.instantiate(buffer): Importing memory with an incorrectly-typed value: WebAssembly.Memory] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/wasm/jsapi/constructor/instantiate.any.js.ini b/tests/wpt/metadata/wasm/jsapi/constructor/instantiate.any.js.ini index 8056f7ff520..f77fe5cee2c 100644 --- a/tests/wpt/metadata/wasm/jsapi/constructor/instantiate.any.js.ini +++ b/tests/wpt/metadata/wasm/jsapi/constructor/instantiate.any.js.ini @@ -1,171 +1,161 @@ [instantiate.any.html] + expected: TIMEOUT [Invalid arguments] - expected: FAIL + expected: NOTRUN [exports and imports: buffer argument] expected: FAIL [Invalid code] - expected: FAIL + expected: NOTRUN [BufferSource argument] expected: FAIL [Branding] - expected: FAIL - - [Missing arguments] - expected: FAIL + expected: TIMEOUT [exports and imports: Module argument] - expected: FAIL + expected: NOTRUN [Module argument] expected: FAIL [Changing the buffer] - expected: FAIL - - [Promise type] - expected: FAIL + expected: NOTRUN [Empty module with undefined imports argument: BufferSource argument] - expected: FAIL + expected: NOTRUN [getter order for imports object: BufferSource argument] - expected: FAIL + expected: NOTRUN [Empty module without imports argument: BufferSource argument] - expected: FAIL + expected: NOTRUN [Empty module with empty imports argument: BufferSource argument] - expected: FAIL + expected: NOTRUN [No imports: Module argument] - expected: FAIL + expected: NOTRUN [Empty module with undefined imports argument: Module argument] - expected: FAIL + expected: NOTRUN [exports and imports: BufferSource argument] - expected: FAIL + expected: NOTRUN [imports: Module argument] - expected: FAIL + expected: NOTRUN [Empty module without imports argument: Module argument] - expected: FAIL + expected: NOTRUN [No imports: BufferSource argument] - expected: FAIL + expected: NOTRUN [Empty module with empty imports argument: Module argument] - expected: FAIL + expected: NOTRUN [imports: BufferSource argument] - expected: FAIL + expected: NOTRUN [getter order for imports object: Module argument] - expected: FAIL + expected: NOTRUN [stray argument: BufferSource argument] - expected: FAIL + expected: NOTRUN [stray argument: Module argument] - expected: FAIL + expected: NOTRUN [Empty buffer] - expected: FAIL + expected: NOTRUN [Synchronous options handling: Module argument] - expected: FAIL + expected: NOTRUN [Synchronous options handling: Buffer argument] - expected: FAIL + expected: NOTRUN [instantiate.any.worker.html] + expected: TIMEOUT [Invalid arguments] - expected: FAIL + expected: NOTRUN [exports and imports: buffer argument] expected: FAIL [Invalid code] - expected: FAIL + expected: NOTRUN [BufferSource argument] expected: FAIL [Branding] - expected: FAIL - - [Missing arguments] - expected: FAIL + expected: TIMEOUT [exports and imports: Module argument] - expected: FAIL + expected: NOTRUN [Module argument] expected: FAIL [Changing the buffer] - expected: FAIL - - [Promise type] - expected: FAIL + expected: NOTRUN [Empty module with undefined imports argument: BufferSource argument] - expected: FAIL + expected: NOTRUN [getter order for imports object: BufferSource argument] - expected: FAIL + expected: NOTRUN [Empty module without imports argument: BufferSource argument] - expected: FAIL + expected: NOTRUN [Empty module with empty imports argument: BufferSource argument] - expected: FAIL + expected: NOTRUN [No imports: Module argument] - expected: FAIL + expected: NOTRUN [Empty module with undefined imports argument: Module argument] - expected: FAIL + expected: NOTRUN [exports and imports: BufferSource argument] - expected: FAIL + expected: NOTRUN [imports: Module argument] - expected: FAIL + expected: NOTRUN [Empty module without imports argument: Module argument] - expected: FAIL + expected: NOTRUN [No imports: BufferSource argument] - expected: FAIL + expected: NOTRUN [Empty module with empty imports argument: Module argument] - expected: FAIL + expected: NOTRUN [imports: BufferSource argument] - expected: FAIL + expected: NOTRUN [getter order for imports object: Module argument] - expected: FAIL + expected: NOTRUN [stray argument: BufferSource argument] - expected: FAIL + expected: NOTRUN [stray argument: Module argument] - expected: FAIL + expected: NOTRUN [Empty buffer] - expected: FAIL + expected: NOTRUN [Synchronous options handling: Module argument] - expected: FAIL + expected: NOTRUN [Synchronous options handling: Buffer argument] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/wasm/jsapi/idlharness.any.js.ini b/tests/wpt/metadata/wasm/jsapi/idlharness.any.js.ini index 8f96d503af5..4eb8823921f 100644 --- a/tests/wpt/metadata/wasm/jsapi/idlharness.any.js.ini +++ b/tests/wpt/metadata/wasm/jsapi/idlharness.any.js.ini @@ -1,4 +1,5 @@ [idlharness.any.worker.html] + expected: TIMEOUT [Instance must be primary interface of instance] expected: FAIL @@ -41,8 +42,12 @@ [Module interface: mod must inherit property "customSections(Module, DOMString)" with the proper type] expected: FAIL + [wasm-js-api interfaces.] + expected: TIMEOUT + [idlharness.any.html] + expected: TIMEOUT [Instance must be primary interface of instance] expected: FAIL @@ -85,3 +90,6 @@ [Module interface: mod must inherit property "customSections(Module, DOMString)" with the proper type] expected: FAIL + [wasm-js-api interfaces.] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/wasm/serialization/module/broadcastchannel-success.html.ini b/tests/wpt/metadata/wasm/serialization/module/broadcastchannel-success.html.ini index 50d9fdee6c9..b125af5e0e2 100644 --- a/tests/wpt/metadata/wasm/serialization/module/broadcastchannel-success.html.ini +++ b/tests/wpt/metadata/wasm/serialization/module/broadcastchannel-success.html.ini @@ -1,4 +1,5 @@ [broadcastchannel-success.html] + expected: TIMEOUT [Structured cloning of WebAssembly.Module: BroadcastChannel within the same agent cluster] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/wasm/serialization/module/identity-not-preserved.html.ini b/tests/wpt/metadata/wasm/serialization/module/identity-not-preserved.html.ini index 1e92fb501c5..394cfbc06d7 100644 --- a/tests/wpt/metadata/wasm/serialization/module/identity-not-preserved.html.ini +++ b/tests/wpt/metadata/wasm/serialization/module/identity-not-preserved.html.ini @@ -1,5 +1,5 @@ [identity-not-preserved.html] - expected: ERROR + expected: TIMEOUT [postMessaging to this window does not give back the same WebAssembly.Module] expected: TIMEOUT diff --git a/tests/wpt/metadata/wasm/serialization/module/nested-worker-success.any.js.ini b/tests/wpt/metadata/wasm/serialization/module/nested-worker-success.any.js.ini index d92318b2c32..df7e4834cf2 100644 --- a/tests/wpt/metadata/wasm/serialization/module/nested-worker-success.any.js.ini +++ b/tests/wpt/metadata/wasm/serialization/module/nested-worker-success.any.js.ini @@ -5,6 +5,7 @@ [nested-worker-success.any.worker.html] + expected: TIMEOUT [postMessaging to a dedicated sub-worker allows them to see each others' modifications] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/wasm/serialization/module/window-domain-success.sub.html.ini b/tests/wpt/metadata/wasm/serialization/module/window-domain-success.sub.html.ini index cc8bf757e8f..4d4caaef81c 100644 --- a/tests/wpt/metadata/wasm/serialization/module/window-domain-success.sub.html.ini +++ b/tests/wpt/metadata/wasm/serialization/module/window-domain-success.sub.html.ini @@ -1,4 +1,5 @@ [window-domain-success.sub.html] + expected: TIMEOUT [postMessaging to a same-origin-domain (but not same-origin) iframe allows them to instantiate] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/wasm/serialization/module/window-messagechannel-success.html.ini b/tests/wpt/metadata/wasm/serialization/module/window-messagechannel-success.html.ini index 3d5f3dffc9f..e2b449e8b74 100644 --- a/tests/wpt/metadata/wasm/serialization/module/window-messagechannel-success.html.ini +++ b/tests/wpt/metadata/wasm/serialization/module/window-messagechannel-success.html.ini @@ -1,4 +1,5 @@ [window-messagechannel-success.html] + expected: TIMEOUT [postMessaging to a dedicated worker via MessageChannel allows them to instantiate] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/wasm/serialization/module/window-similar-but-cross-origin-success.sub.html.ini b/tests/wpt/metadata/wasm/serialization/module/window-similar-but-cross-origin-success.sub.html.ini index 6383bcb6d88..b85ba96b1f8 100644 --- a/tests/wpt/metadata/wasm/serialization/module/window-similar-but-cross-origin-success.sub.html.ini +++ b/tests/wpt/metadata/wasm/serialization/module/window-similar-but-cross-origin-success.sub.html.ini @@ -1,4 +1,5 @@ [window-similar-but-cross-origin-success.sub.html] + expected: TIMEOUT [postMessaging to a not same-origin-domain, but similar origin, iframe allows them to instantiate] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/wasm/serialization/module/window-simple-success.html.ini b/tests/wpt/metadata/wasm/serialization/module/window-simple-success.html.ini index 45431db4f4e..cd6ca8965d0 100644 --- a/tests/wpt/metadata/wasm/serialization/module/window-simple-success.html.ini +++ b/tests/wpt/metadata/wasm/serialization/module/window-simple-success.html.ini @@ -1,13 +1,14 @@ [window-simple-success.html] + expected: TIMEOUT [postMessaging to a same-origin opened window allows them to instantiate] - expected: FAIL + expected: NOTRUN [postMessaging to a same-origin deeply-nested iframe allows them to instantiate] - expected: FAIL + expected: NOTRUN [postMessaging to a dedicated worker allows them to instantiate] - expected: FAIL + expected: TIMEOUT [postMessaging to a same-origin iframe allows them to instantiate] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/wasm/webapi/body.any.js.ini b/tests/wpt/metadata/wasm/webapi/body.any.js.ini index 26214cdd87a..1e3a37728f6 100644 --- a/tests/wpt/metadata/wasm/webapi/body.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/body.any.js.ini @@ -1,30 +1,6 @@ [body.any.worker.html] - [compileStreaming before consumption] - expected: FAIL - - [compileStreaming after consumption] - expected: FAIL - - [instantiateStreaming after consumption] - expected: FAIL - - [instantiateStreaming before consumption] - expected: FAIL - [body.any.html] - [compileStreaming before consumption] - expected: FAIL - - [compileStreaming after consumption] - expected: FAIL - - [instantiateStreaming after consumption] - expected: FAIL - - [instantiateStreaming before consumption] - expected: FAIL - [body.any.serviceworker.html] expected: ERROR diff --git a/tests/wpt/metadata/wasm/webapi/contenttype.any.js.ini b/tests/wpt/metadata/wasm/webapi/contenttype.any.js.ini index 4c4d0a3d18b..3fb3c3ac135 100644 --- a/tests/wpt/metadata/wasm/webapi/contenttype.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/contenttype.any.js.ini @@ -1,63 +1,22 @@ [contenttype.any.worker.html] - [Response with Content-Type "text/wasm": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/octet-stream": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;x": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;x": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/octet-stream": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/javascript": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "text/wasm": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;charset=UTF-8": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;charset=UTF-8": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/javascript": compileStreaming] - expected: FAIL - - [Response with Content-Type "": compileStreaming] - expected: FAIL - + expected: TIMEOUT [Response with Content-Type "application/wasm": compileStreaming] - expected: FAIL + expected: TIMEOUT [Response with Content-Type "APPLICATION/wasm": compileStreaming] - expected: FAIL + expected: NOTRUN [Response with Content-Type "APPLICATION/wasm": instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with Content-Type "APPLICATION/WASM": instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with Content-Type "application/wasm": instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with Content-Type "APPLICATION/WASM": compileStreaming] - expected: FAIL + expected: NOTRUN [contenttype.any.sharedworker.html] @@ -67,65 +26,24 @@ [contenttype.any.html] - [Response with Content-Type "text/wasm": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/octet-stream": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;x": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;x": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/octet-stream": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/javascript": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "text/wasm": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;charset=UTF-8": instantiateStreaming] - expected: FAIL - - [Response with Content-Type "application/wasm;charset=UTF-8": compileStreaming] - expected: FAIL - - [Response with Content-Type "application/javascript": compileStreaming] - expected: FAIL - - [Response with Content-Type "": compileStreaming] - expected: FAIL - + expected: TIMEOUT [Response with Content-Type "application/wasm": compileStreaming] - expected: FAIL + expected: TIMEOUT [Response with Content-Type "APPLICATION/wasm": compileStreaming] - expected: FAIL + expected: NOTRUN [Response with Content-Type "APPLICATION/wasm": instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with Content-Type "APPLICATION/WASM": instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with Content-Type "application/wasm": instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with Content-Type "APPLICATION/WASM": compileStreaming] - expected: FAIL + expected: NOTRUN [contenttype.any.serviceworker.html] diff --git a/tests/wpt/metadata/wasm/webapi/empty-body.any.js.ini b/tests/wpt/metadata/wasm/webapi/empty-body.any.js.ini index 95576eeac19..5872de1f319 100644 --- a/tests/wpt/metadata/wasm/webapi/empty-body.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/empty-body.any.js.ini @@ -1,27 +1,28 @@ [empty-body.any.worker.html] + expected: TIMEOUT [compileStreaming: empty body] - expected: FAIL + expected: NOTRUN [instantiateStreaming: no body] - expected: FAIL + expected: NOTRUN [compileStreaming: no body] - expected: FAIL + expected: TIMEOUT [compileStreaming: no body in a promise] - expected: FAIL + expected: NOTRUN [instantiateStreaming: empty body] - expected: FAIL + expected: NOTRUN [compileStreaming: empty body in a promise] - expected: FAIL + expected: NOTRUN [instantiateStreaming: empty body in a promise] - expected: FAIL + expected: NOTRUN [instantiateStreaming: no body in a promise] - expected: FAIL + expected: NOTRUN [empty-body.any.sharedworker.html] @@ -31,29 +32,30 @@ [empty-body.any.html] + expected: TIMEOUT [compileStreaming: empty body] - expected: FAIL + expected: NOTRUN [instantiateStreaming: no body] - expected: FAIL + expected: NOTRUN [compileStreaming: no body] - expected: FAIL + expected: TIMEOUT [compileStreaming: no body in a promise] - expected: FAIL + expected: NOTRUN [instantiateStreaming: empty body] - expected: FAIL + expected: NOTRUN [compileStreaming: empty body in a promise] - expected: FAIL + expected: NOTRUN [instantiateStreaming: empty body in a promise] - expected: FAIL + expected: NOTRUN [instantiateStreaming: no body in a promise] - expected: FAIL + expected: NOTRUN [empty-body.any.serviceworker.html] diff --git a/tests/wpt/metadata/wasm/webapi/instantiateStreaming-bad-imports.any.js.ini b/tests/wpt/metadata/wasm/webapi/instantiateStreaming-bad-imports.any.js.ini index 364f9f57c4e..d38e0b946ed 100644 --- a/tests/wpt/metadata/wasm/webapi/instantiateStreaming-bad-imports.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/instantiateStreaming-bad-imports.any.js.ini @@ -5,379 +5,339 @@ [instantiateStreaming-bad-imports.any.html] + expected: TIMEOUT [Imports argument with missing property: wrong property] - expected: FAIL + expected: NOTRUN [Non-object module: symbol "Symbol()"] - expected: FAIL - - [Non-object imports argument: null] - expected: FAIL - - [Non-object imports argument: 1] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Non-object module: 1] - expected: FAIL - - [Non-object imports argument: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [Importing an i64 global] - expected: FAIL - - [Non-object imports argument: ""] - expected: FAIL + expected: NOTRUN [Imports argument with missing property: undefined] - expected: FAIL + expected: NOTRUN [Non-object module: ""] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [Non-object module: NaN] - expected: FAIL + expected: NOTRUN [Non-object module: 0.1] - expected: FAIL - - [Missing imports argument] - expected: FAIL - - [Non-object imports argument: true] - expected: FAIL - - [Non-object imports argument: 0.1] - expected: FAIL + expected: NOTRUN [Non-object module: undefined] - expected: FAIL + expected: TIMEOUT [Importing a function with an incorrectly-typed value: undefined] - expected: FAIL - - [Non-object imports argument: NaN] - expected: FAIL + expected: NOTRUN [Non-object module: true] - expected: FAIL + expected: NOTRUN [Non-object module: null] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: object "[object Object\]"] - expected: FAIL + expected: NOTRUN [Imports argument with missing property: empty object] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: plain object] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: Object.create(WebAssembly.Memory.prototype)] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: Object.create(WebAssembly.Global.prototype)] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: Object.create(WebAssembly.Table.prototype)] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: WebAssembly.Global.prototype] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: WebAssembly.Table.prototype] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: plain object] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: WebAssembly.Memory] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: WebAssembly.Memory.prototype] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: WebAssembly.Table] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: WebAssembly.Global] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: plain object] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN + + [Missing imports argument] + expected: NOTRUN [instantiateStreaming-bad-imports.any.worker.html] + expected: TIMEOUT [Imports argument with missing property: wrong property] - expected: FAIL + expected: NOTRUN [Non-object module: symbol "Symbol()"] - expected: FAIL - - [Non-object imports argument: null] - expected: FAIL - - [Non-object imports argument: 1] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Non-object module: 1] - expected: FAIL - - [Non-object imports argument: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [Importing an i64 global] - expected: FAIL - - [Non-object imports argument: ""] - expected: FAIL + expected: NOTRUN [Imports argument with missing property: undefined] - expected: FAIL + expected: NOTRUN [Non-object module: ""] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [Non-object module: NaN] - expected: FAIL + expected: NOTRUN [Non-object module: 0.1] - expected: FAIL + expected: NOTRUN [Missing imports argument] - expected: FAIL - - [Non-object imports argument: true] - expected: FAIL - - [Non-object imports argument: 0.1] - expected: FAIL + expected: NOTRUN [Non-object module: undefined] - expected: FAIL + expected: TIMEOUT [Importing a function with an incorrectly-typed value: undefined] - expected: FAIL - - [Non-object imports argument: NaN] - expected: FAIL + expected: NOTRUN [Non-object module: true] - expected: FAIL + expected: NOTRUN [Non-object module: null] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: object "[object Object\]"] - expected: FAIL + expected: NOTRUN [Imports argument with missing property: empty object] - expected: FAIL + expected: NOTRUN [Importing a function with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: plain object] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: Object.create(WebAssembly.Memory.prototype)] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: Object.create(WebAssembly.Global.prototype)] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: Object.create(WebAssembly.Table.prototype)] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: WebAssembly.Global.prototype] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: WebAssembly.Table.prototype] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: 1] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: plain object] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: WebAssembly.Memory] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: WebAssembly.Memory.prototype] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: true] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: 0.1] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: NaN] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: undefined] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: null] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: symbol "Symbol()"] - expected: FAIL + expected: NOTRUN [Importing table with an incorrectly-typed value: WebAssembly.Table] - expected: FAIL + expected: NOTRUN [Importing a global with an incorrectly-typed value: WebAssembly.Global] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: plain object] - expected: FAIL + expected: NOTRUN [Importing memory with an incorrectly-typed value: ""] - expected: FAIL + expected: NOTRUN [instantiateStreaming-bad-imports.any.sharedworker.html] diff --git a/tests/wpt/metadata/wasm/webapi/instantiateStreaming.any.js.ini b/tests/wpt/metadata/wasm/webapi/instantiateStreaming.any.js.ini index 5f21c19600f..4fee50f346a 100644 --- a/tests/wpt/metadata/wasm/webapi/instantiateStreaming.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/instantiateStreaming.any.js.ini @@ -1,30 +1,31 @@ [instantiateStreaming.any.html] + expected: TIMEOUT [Empty module with undefined imports argument] - expected: FAIL + expected: NOTRUN [stray argument] - expected: FAIL + expected: NOTRUN [imports] - expected: FAIL + expected: NOTRUN [Empty module without imports argument] - expected: FAIL + expected: TIMEOUT [exports and imports] - expected: FAIL + expected: NOTRUN [getter order for imports object] - expected: FAIL + expected: NOTRUN [Empty module with empty imports argument] - expected: FAIL + expected: NOTRUN [No imports] - expected: FAIL + expected: NOTRUN [Synchronous options handling] - expected: FAIL + expected: NOTRUN [instantiateStreaming.any.serviceworker.html] @@ -40,30 +41,31 @@ [instantiateStreaming.any.worker.html] + expected: TIMEOUT [Empty module with undefined imports argument] - expected: FAIL + expected: NOTRUN [stray argument] - expected: FAIL + expected: NOTRUN [imports] - expected: FAIL + expected: NOTRUN [Empty module without imports argument] - expected: FAIL + expected: TIMEOUT [exports and imports] - expected: FAIL + expected: NOTRUN [getter order for imports object] - expected: FAIL + expected: NOTRUN [Empty module with empty imports argument] - expected: FAIL + expected: NOTRUN [No imports] - expected: FAIL + expected: NOTRUN [Synchronous options handling] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/metadata/wasm/webapi/invalid-args.any.js.ini b/tests/wpt/metadata/wasm/webapi/invalid-args.any.js.ini index c6dd3591e4b..29ca5d566ad 100644 --- a/tests/wpt/metadata/wasm/webapi/invalid-args.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/invalid-args.any.js.ini @@ -11,269 +11,4 @@ [invalid-args.any.worker.html] - [instantiateStreaming: "test" in a promise] - expected: FAIL - - [compileStreaming: true in a promise] - expected: FAIL - - [compileStreaming: "test" in a promise] - expected: FAIL - - [compileStreaming: symbol "Symbol()"] - expected: FAIL - - [instantiateStreaming: true] - expected: FAIL - - [instantiateStreaming: Response interface object in a promise] - expected: FAIL - - [instantiateStreaming: 0 in a promise] - expected: FAIL - - [compileStreaming: Empty object] - expected: FAIL - - [instantiateStreaming: Response interface prototype object in a promise] - expected: FAIL - - [instantiateStreaming: undefined] - expected: FAIL - - [compileStreaming: undefined] - expected: FAIL - - [compileStreaming: Response interface prototype object] - expected: FAIL - - [instantiateStreaming: 0.1] - expected: FAIL - - [instantiateStreaming: symbol "Symbol()" in a promise] - expected: FAIL - - [compileStreaming: 0.1 in a promise] - expected: FAIL - - [instantiateStreaming: Empty object] - expected: FAIL - - [instantiateStreaming: null] - expected: FAIL - - [compileStreaming: Empty object in a promise] - expected: FAIL - - [compileStreaming: null] - expected: FAIL - - [instantiateStreaming: undefined in a promise] - expected: FAIL - - [instantiateStreaming: Empty object in a promise] - expected: FAIL - - [compileStreaming: NaN] - expected: FAIL - - [instantiateStreaming: NaN] - expected: FAIL - - [compileStreaming: 0] - expected: FAIL - - [instantiateStreaming: Response interface prototype object] - expected: FAIL - - [compileStreaming: undefined in a promise] - expected: FAIL - - [compileStreaming: "test"] - expected: FAIL - - [instantiateStreaming: 0] - expected: FAIL - - [instantiateStreaming: "test"] - expected: FAIL - - [instantiateStreaming: null in a promise] - expected: FAIL - - [compileStreaming: true] - expected: FAIL - - [instantiateStreaming: symbol "Symbol()"] - expected: FAIL - - [compileStreaming: symbol "Symbol()" in a promise] - expected: FAIL - - [instantiateStreaming: true in a promise] - expected: FAIL - - [compileStreaming: Response interface object in a promise] - expected: FAIL - - [compileStreaming: Response interface prototype object in a promise] - expected: FAIL - - [instantiateStreaming: Response interface object] - expected: FAIL - - [compileStreaming: 0.1] - expected: FAIL - - [compileStreaming: null in a promise] - expected: FAIL - - [compileStreaming: 0 in a promise] - expected: FAIL - - [compileStreaming: Response interface object] - expected: FAIL - - [compileStreaming: NaN in a promise] - expected: FAIL - - [instantiateStreaming: 0.1 in a promise] - expected: FAIL - - [instantiateStreaming: NaN in a promise] - expected: FAIL - - -[invalid-args.any.html] - [instantiateStreaming: "test" in a promise] - expected: FAIL - - [compileStreaming: true in a promise] - expected: FAIL - - [compileStreaming: "test" in a promise] - expected: FAIL - - [compileStreaming: symbol "Symbol()"] - expected: FAIL - - [instantiateStreaming: true] - expected: FAIL - - [instantiateStreaming: Response interface object in a promise] - expected: FAIL - - [instantiateStreaming: 0 in a promise] - expected: FAIL - - [compileStreaming: Empty object] - expected: FAIL - - [instantiateStreaming: Response interface prototype object in a promise] - expected: FAIL - - [instantiateStreaming: undefined] - expected: FAIL - - [compileStreaming: undefined] - expected: FAIL - - [compileStreaming: Response interface prototype object] - expected: FAIL - - [instantiateStreaming: 0.1] - expected: FAIL - - [instantiateStreaming: symbol "Symbol()" in a promise] - expected: FAIL - - [compileStreaming: 0.1 in a promise] - expected: FAIL - - [instantiateStreaming: Empty object] - expected: FAIL - - [instantiateStreaming: null] - expected: FAIL - - [compileStreaming: Empty object in a promise] - expected: FAIL - - [compileStreaming: null] - expected: FAIL - - [instantiateStreaming: undefined in a promise] - expected: FAIL - - [instantiateStreaming: Empty object in a promise] - expected: FAIL - - [compileStreaming: NaN] - expected: FAIL - - [instantiateStreaming: NaN] - expected: FAIL - - [compileStreaming: 0] - expected: FAIL - - [instantiateStreaming: Response interface prototype object] - expected: FAIL - - [compileStreaming: undefined in a promise] - expected: FAIL - - [compileStreaming: "test"] - expected: FAIL - - [instantiateStreaming: 0] - expected: FAIL - - [instantiateStreaming: "test"] - expected: FAIL - - [instantiateStreaming: null in a promise] - expected: FAIL - - [compileStreaming: true] - expected: FAIL - - [instantiateStreaming: symbol "Symbol()"] - expected: FAIL - - [compileStreaming: symbol "Symbol()" in a promise] - expected: FAIL - - [instantiateStreaming: true in a promise] - expected: FAIL - - [compileStreaming: Response interface object in a promise] - expected: FAIL - - [compileStreaming: Response interface prototype object in a promise] - expected: FAIL - - [instantiateStreaming: Response interface object] - expected: FAIL - - [compileStreaming: 0.1] - expected: FAIL - - [compileStreaming: null in a promise] - expected: FAIL - - [compileStreaming: 0 in a promise] - expected: FAIL - - [compileStreaming: Response interface object] - expected: FAIL - - [compileStreaming: NaN in a promise] - expected: FAIL - - [instantiateStreaming: 0.1 in a promise] - expected: FAIL - - [instantiateStreaming: NaN in a promise] - expected: FAIL diff --git a/tests/wpt/metadata/wasm/webapi/invalid-code.any.js.ini b/tests/wpt/metadata/wasm/webapi/invalid-code.any.js.ini index 5eb0c5ef0f4..26d4b245e7a 100644 --- a/tests/wpt/metadata/wasm/webapi/invalid-code.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/invalid-code.any.js.ini @@ -5,11 +5,12 @@ [invalid-code.any.worker.html] + expected: TIMEOUT [Invalid code: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Invalid code: compileStreaming] - expected: FAIL + expected: TIMEOUT [invalid-code.any.serviceworker.html] @@ -19,9 +20,10 @@ [invalid-code.any.html] + expected: TIMEOUT [Invalid code: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Invalid code: compileStreaming] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/wasm/webapi/origin.sub.any.js.ini b/tests/wpt/metadata/wasm/webapi/origin.sub.any.js.ini index 9382317596e..a5957a759ff 100644 --- a/tests/wpt/metadata/wasm/webapi/origin.sub.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/origin.sub.any.js.ini @@ -3,35 +3,6 @@ [origin] expected: FAIL - -[origin.sub.any.worker.html] - [Opaque response: compileStreaming] - expected: FAIL - - [Opaque redirect response: compileStreaming] - expected: FAIL - - [Opaque redirect response: instantiateStreaming] - expected: FAIL - - [Opaque response: instantiateStreaming] - expected: FAIL - - -[origin.sub.any.html] - [Opaque response: compileStreaming] - expected: FAIL - - [Opaque redirect response: compileStreaming] - expected: FAIL - - [Opaque redirect response: instantiateStreaming] - expected: FAIL - - [Opaque response: instantiateStreaming] - expected: FAIL - - [origin.sub.any.serviceworker.html] expected: ERROR [origin] diff --git a/tests/wpt/metadata/wasm/webapi/rejected-arg.any.js.ini b/tests/wpt/metadata/wasm/webapi/rejected-arg.any.js.ini index 6130d73831d..47b03906724 100644 --- a/tests/wpt/metadata/wasm/webapi/rejected-arg.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/rejected-arg.any.js.ini @@ -3,14 +3,7 @@ [rejected-arg] expected: FAIL - [rejected-arg.any.worker.html] - [compileStreaming] - expected: FAIL - - [instantiateStreaming] - expected: FAIL - [rejected-arg.any.serviceworker.html] expected: ERROR @@ -19,10 +12,3 @@ [rejected-arg.any.html] - expected: ERROR - [compileStreaming] - expected: FAIL - - [instantiateStreaming] - expected: FAIL - diff --git a/tests/wpt/metadata/wasm/webapi/status.any.js.ini b/tests/wpt/metadata/wasm/webapi/status.any.js.ini index f0cd9279b42..8d6bdb60c08 100644 --- a/tests/wpt/metadata/wasm/webapi/status.any.js.ini +++ b/tests/wpt/metadata/wasm/webapi/status.any.js.ini @@ -1,51 +1,49 @@ [status.any.html] + expected: TIMEOUT [Response with status 300: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 500: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 700: instantiateStreaming] - expected: FAIL - - [Response with status 0: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 700: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 600: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 0: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 404: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 500: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 600: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 300: compileStreaming] - expected: FAIL + expected: TIMEOUT [Response with status 400: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 400: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 999: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 999: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 404: instantiateStreaming] - expected: FAIL + expected: NOTRUN [status.any.serviceworker.html] @@ -61,51 +59,49 @@ [status.any.worker.html] + expected: TIMEOUT [Response with status 300: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 500: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 700: instantiateStreaming] - expected: FAIL - - [Response with status 0: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 700: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 600: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 0: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 404: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 500: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 600: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 300: compileStreaming] - expected: FAIL + expected: TIMEOUT [Response with status 400: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 400: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 999: instantiateStreaming] - expected: FAIL + expected: NOTRUN [Response with status 999: compileStreaming] - expected: FAIL + expected: NOTRUN [Response with status 404: instantiateStreaming] - expected: FAIL + expected: NOTRUN |