From 4482ccc52dd85a3838a215371af70e71dfdf898d Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 10 Sep 2018 12:46:24 -0400 Subject: [PATCH] Enable wasm tests. --- tests/wpt/include.ini | 2 + tests/wpt/metadata/wasm/idlharness.any.js.ini | 429 ++++++++++++++++++ .../wasm/jsapi/constructor/compile.any.js.ini | 45 ++ .../instantiate-bad-imports.any.js.ini | 179 ++++++++ .../jsapi/constructor/instantiate.any.js.ini | 63 +++ .../wasm/jsapi/global/constructor.any.js.ini | 189 ++++++++ .../wasm/jsapi/global/toString.any.js.ini | 9 + .../wasm/jsapi/global/value-set.any.js.ini | 201 ++++++++ .../wasm/jsapi/global/valueOf.any.js.ini | 9 + .../constructor-bad-imports.any.js.ini | 5 + .../jsapi/instance/constructor.any.js.ini | 9 + .../metadata/wasm/jsapi/interface.any.js.ini | 101 +++++ .../wasm/jsapi/memory/constructor.any.js.ini | 93 ++++ .../wasm/jsapi/memory/grow.any.js.ini | 63 +++ .../jsapi/module/customSections.any.js.ini | 9 + .../wasm/jsapi/module/exports.any.js.ini | 9 + .../wasm/jsapi/table/constructor.any.js.ini | 99 ++++ .../wasm/jsapi/table/get-set.any.js.ini | 117 +++++ .../metadata/wasm/jsapi/table/grow.any.js.ini | 63 +++ ...adcastchannel-success-and-failure.html.ini | 4 + .../broadcastchannel-success.html.ini | 4 + .../identity-not-preserved.html.ini | 11 + .../nested-worker-success.any.js.ini | 9 + .../serialization/no-transferring.html.ini | 10 + .../serialization-via-idb.any.js.ini | 15 + ...alization-via-notifications-api.any.js.ini | 15 + .../window-domain-success.sub.html.ini | 4 + .../window-messagechannel-success.html.ini | 4 + ...indow-serviceworker-failure.https.html.ini | 4 + .../window-sharedworker-failure.html.ini | 4 + ...ilar-but-cross-origin-success.sub.html.ini | 4 + .../window-simple-success.html.ini | 13 + 32 files changed, 1795 insertions(+) create mode 100644 tests/wpt/metadata/wasm/idlharness.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/constructor/compile.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/constructor/instantiate-bad-imports.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/constructor/instantiate.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/global/constructor.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/global/toString.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/global/value-set.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/global/valueOf.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/instance/constructor-bad-imports.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/instance/constructor.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/interface.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/memory/constructor.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/memory/grow.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/module/customSections.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/module/exports.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/table/constructor.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/table/get-set.any.js.ini create mode 100644 tests/wpt/metadata/wasm/jsapi/table/grow.any.js.ini create mode 100644 tests/wpt/metadata/wasm/serialization/broadcastchannel-success-and-failure.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/broadcastchannel-success.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/identity-not-preserved.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/nested-worker-success.any.js.ini create mode 100644 tests/wpt/metadata/wasm/serialization/no-transferring.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/serialization-via-idb.any.js.ini create mode 100644 tests/wpt/metadata/wasm/serialization/serialization-via-notifications-api.any.js.ini create mode 100644 tests/wpt/metadata/wasm/serialization/window-domain-success.sub.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/window-messagechannel-success.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/window-serviceworker-failure.https.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/window-sharedworker-failure.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/window-similar-but-cross-origin-success.sub.html.ini create mode 100644 tests/wpt/metadata/wasm/serialization/window-simple-success.html.ini diff --git a/tests/wpt/include.ini b/tests/wpt/include.ini index c1727e52b18..b407d2acec7 100644 --- a/tests/wpt/include.ini +++ b/tests/wpt/include.ini @@ -109,6 +109,8 @@ skip: true skip: false [url] skip: false +[wasm] + skip: false [webaudio] skip: false [WebCryptoAPI] diff --git a/tests/wpt/metadata/wasm/idlharness.any.js.ini b/tests/wpt/metadata/wasm/idlharness.any.js.ini new file mode 100644 index 00000000000..29825fa93a0 --- /dev/null +++ b/tests/wpt/metadata/wasm/idlharness.any.js.ini @@ -0,0 +1,429 @@ +[idlharness.any.worker.html] + [Global interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Table interface object length] + expected: FAIL + + [Instance must be primary interface of instance] + expected: FAIL + + [Instance interface object name] + expected: FAIL + + [Table interface: operation grow(unsigned long)] + expected: FAIL + + [Memory interface object name] + expected: FAIL + + [Memory interface: memory must inherit property "grow(unsigned long)" with the proper type] + expected: FAIL + + [Module interface: operation exports(Module)] + expected: FAIL + + [Stringification of mod] + expected: FAIL + + [Instance interface: existence and properties of interface prototype object] + expected: FAIL + + [Memory must be primary interface of memory] + expected: FAIL + + [Module interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Global interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [WebAssembly namespace: operation instantiate(BufferSource, object)] + expected: FAIL + + [Instance interface: attribute exports] + expected: FAIL + + [Module interface: mod must inherit property "imports(Module)" with the proper type] + expected: FAIL + + [Global interface: operation valueOf()] + expected: FAIL + + [Module interface object name] + expected: FAIL + + [Memory interface: existence and properties of interface prototype object] + expected: FAIL + + [Table interface: existence and properties of interface object] + expected: FAIL + + [Module interface: existence and properties of interface object] + expected: FAIL + + [Table interface: operation get(unsigned long)] + expected: FAIL + + [Instance interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Stringification of instance] + expected: FAIL + + [Table interface: existence and properties of interface prototype object] + expected: FAIL + + [Instance interface: existence and properties of interface object] + expected: FAIL + + [Module interface: calling customSections(Module, USVString) on mod with too few arguments must throw TypeError] + expected: FAIL + + [Global interface: existence and properties of interface prototype object] + expected: FAIL + + [Module interface: calling imports(Module) on mod with too few arguments must throw TypeError] + expected: FAIL + + [Module interface: mod must inherit property "exports(Module)" with the proper type] + expected: FAIL + + [Memory interface: operation grow(unsigned long)] + expected: FAIL + + [Global interface: existence and properties of interface object] + expected: FAIL + + [Table interface: attribute length] + expected: FAIL + + [Module interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Global interface object length] + expected: FAIL + + [Table interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Memory interface: calling grow(unsigned long) on memory with too few arguments must throw TypeError] + expected: FAIL + + [WebAssembly namespace: operation validate(BufferSource)] + expected: FAIL + + [Memory interface: existence and properties of interface object] + expected: FAIL + + [Module interface: operation customSections(Module, USVString)] + expected: FAIL + + [Global interface object name] + expected: FAIL + + [Module interface: mod must inherit property "customSections(Module, USVString)" with the proper type] + expected: FAIL + + [Memory interface: memory must inherit property "buffer" with the proper type] + expected: FAIL + + [Module interface: existence and properties of interface prototype object] + expected: FAIL + + [Table interface: operation set(unsigned long, Function)] + expected: FAIL + + [Memory interface object length] + expected: FAIL + + [WebAssembly namespace: operation instantiate(Module, object)] + expected: FAIL + + [Memory interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Module interface object length] + expected: FAIL + + [Instance interface: instance must inherit property "exports" with the proper type] + expected: FAIL + + [Global interface: attribute value] + expected: FAIL + + [Table interface object name] + expected: FAIL + + [Memory interface: attribute buffer] + expected: FAIL + + [Module interface: operation imports(Module)] + expected: FAIL + + [Instance interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [WebAssembly namespace: operation compile(BufferSource)] + expected: FAIL + + [Stringification of memory] + expected: FAIL + + [Memory interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Module interface: calling exports(Module) on mod with too few arguments must throw TypeError] + expected: FAIL + + [Instance interface object length] + expected: FAIL + + [Table interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Module must be primary interface of mod] + expected: FAIL + + +[idlharness.any.html] + [RuntimeError interface: existence and properties of interface prototype object] + expected: FAIL + + [CompileError interface object length] + expected: FAIL + + [Global interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Table interface object length] + expected: FAIL + + [Instance must be primary interface of instance] + expected: FAIL + + [LinkError interface object name] + expected: FAIL + + [LinkError interface: existence and properties of interface object] + expected: FAIL + + [Instance interface object name] + expected: FAIL + + [LinkError interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Table interface: operation grow(unsigned long)] + expected: FAIL + + [Memory interface object name] + expected: FAIL + + [Memory interface: memory must inherit property "grow(unsigned long)" with the proper type] + expected: FAIL + + [Module interface: operation exports(Module)] + expected: FAIL + + [Stringification of mod] + expected: FAIL + + [Instance interface: existence and properties of interface prototype object] + expected: FAIL + + [RuntimeError interface object length] + expected: FAIL + + [Memory must be primary interface of memory] + expected: FAIL + + [Module interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Global interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [WebAssembly namespace: operation instantiate(BufferSource, object)] + expected: FAIL + + [Instance interface: attribute exports] + expected: FAIL + + [RuntimeError interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Module interface: mod must inherit property "imports(Module)" with the proper type] + expected: FAIL + + [CompileError interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Global interface: operation valueOf()] + expected: FAIL + + [Module interface object name] + expected: FAIL + + [CompileError interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Memory interface: existence and properties of interface prototype object] + expected: FAIL + + [Table interface: existence and properties of interface object] + expected: FAIL + + [Module interface: existence and properties of interface object] + expected: FAIL + + [Table interface: operation get(unsigned long)] + expected: FAIL + + [CompileError interface object name] + expected: FAIL + + [Instance interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Stringification of instance] + expected: FAIL + + [Table interface: existence and properties of interface prototype object] + expected: FAIL + + [RuntimeError interface: existence and properties of interface object] + expected: FAIL + + [Instance interface: existence and properties of interface object] + expected: FAIL + + [Module interface: calling customSections(Module, USVString) on mod with too few arguments must throw TypeError] + expected: FAIL + + [Global interface: existence and properties of interface prototype object] + expected: FAIL + + [CompileError interface: existence and properties of interface object] + expected: FAIL + + [Module interface: calling imports(Module) on mod with too few arguments must throw TypeError] + expected: FAIL + + [Module interface: mod must inherit property "exports(Module)" with the proper type] + expected: FAIL + + [Memory interface: operation grow(unsigned long)] + expected: FAIL + + [Global interface: existence and properties of interface object] + expected: FAIL + + [Table interface: attribute length] + expected: FAIL + + [Module interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Global interface object length] + expected: FAIL + + [Table interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Memory interface: calling grow(unsigned long) on memory with too few arguments must throw TypeError] + expected: FAIL + + [WebAssembly namespace: operation validate(BufferSource)] + expected: FAIL + + [LinkError interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Memory interface: existence and properties of interface object] + expected: FAIL + + [Module interface: operation customSections(Module, USVString)] + expected: FAIL + + [Global interface object name] + expected: FAIL + + [Module interface: mod must inherit property "customSections(Module, USVString)" with the proper type] + expected: FAIL + + [Memory interface: memory must inherit property "buffer" with the proper type] + expected: FAIL + + [CompileError interface: existence and properties of interface prototype object] + expected: FAIL + + [Module interface: existence and properties of interface prototype object] + expected: FAIL + + [Table interface: operation set(unsigned long, Function)] + expected: FAIL + + [RuntimeError interface object name] + expected: FAIL + + [Memory interface object length] + expected: FAIL + + [WebAssembly namespace: operation instantiate(Module, object)] + expected: FAIL + + [LinkError interface object length] + expected: FAIL + + [LinkError interface: existence and properties of interface prototype object] + expected: FAIL + + [Memory interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Module interface object length] + expected: FAIL + + [Instance interface: instance must inherit property "exports" with the proper type] + expected: FAIL + + [Global interface: attribute value] + expected: FAIL + + [Table interface object name] + expected: FAIL + + [Memory interface: attribute buffer] + expected: FAIL + + [Module interface: operation imports(Module)] + expected: FAIL + + [Instance interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [WebAssembly namespace: operation compile(BufferSource)] + expected: FAIL + + [Stringification of memory] + expected: FAIL + + [RuntimeError interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Memory interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Module interface: calling exports(Module) on mod with too few arguments must throw TypeError] + expected: FAIL + + [Instance interface object length] + expected: FAIL + + [Table interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Module must be primary interface of mod] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/constructor/compile.any.js.ini b/tests/wpt/metadata/wasm/jsapi/constructor/compile.any.js.ini new file mode 100644 index 00000000000..9578de40fc5 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/constructor/compile.any.js.ini @@ -0,0 +1,45 @@ +[compile.any.worker.html] + [Invalid arguments] + expected: FAIL + + [Invalid code] + expected: FAIL + + [Branding] + expected: FAIL + + [Missing argument] + expected: FAIL + + [Result type] + expected: FAIL + + [Promise type] + expected: FAIL + + [Changing the buffer] + expected: FAIL + + +[compile.any.html] + [Invalid arguments] + expected: FAIL + + [Invalid code] + expected: FAIL + + [Branding] + expected: FAIL + + [Missing argument] + expected: FAIL + + [Result type] + expected: FAIL + + [Promise type] + expected: FAIL + + [Changing the buffer] + expected: FAIL + 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 new file mode 100644 index 00000000000..d0cc05aafdc --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/constructor/instantiate-bad-imports.any.js.ini @@ -0,0 +1,179 @@ +[instantiate-bad-imports.any.html] + expected: ERROR + [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 + + +[instantiate-bad-imports.any.worker.html] + expected: ERROR + [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 + diff --git a/tests/wpt/metadata/wasm/jsapi/constructor/instantiate.any.js.ini b/tests/wpt/metadata/wasm/jsapi/constructor/instantiate.any.js.ini new file mode 100644 index 00000000000..945f1e8cc37 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/constructor/instantiate.any.js.ini @@ -0,0 +1,63 @@ +[instantiate.any.html] + [Invalid arguments] + expected: FAIL + + [exports and imports: buffer argument] + expected: FAIL + + [Invalid code] + expected: FAIL + + [BufferSource argument] + expected: FAIL + + [Branding] + expected: FAIL + + [Missing arguments] + expected: FAIL + + [exports and imports: Module argument] + expected: FAIL + + [Module argument] + expected: FAIL + + [Changing the buffer] + expected: FAIL + + [Promise type] + expected: FAIL + + +[instantiate.any.worker.html] + [Invalid arguments] + expected: FAIL + + [exports and imports: buffer argument] + expected: FAIL + + [Invalid code] + expected: FAIL + + [BufferSource argument] + expected: FAIL + + [Branding] + expected: FAIL + + [Missing arguments] + expected: FAIL + + [exports and imports: Module argument] + expected: FAIL + + [Module argument] + expected: FAIL + + [Changing the buffer] + expected: FAIL + + [Promise type] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/global/constructor.any.js.ini b/tests/wpt/metadata/wasm/jsapi/global/constructor.any.js.ini new file mode 100644 index 00000000000..621971f49a4 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/global/constructor.any.js.ini @@ -0,0 +1,189 @@ +[constructor.any.html] + [Explicit value object with toString for type f32] + expected: FAIL + + [Explicit value true for type f64] + expected: FAIL + + [Explicit value undefined for type f64] + expected: FAIL + + [Explicit value 2 for type f32] + expected: FAIL + + [i64 with default] + expected: FAIL + + [Explicit value 2 for type i32] + expected: FAIL + + [Explicit value false for type i32] + expected: FAIL + + [Default value for type f32] + expected: FAIL + + [Explicit value undefined for type i32] + expected: FAIL + + [Explicit value object with valueOf for type f32] + expected: FAIL + + [Explicit value false for type f32] + expected: FAIL + + [Explicit value true for type i32] + expected: FAIL + + [Explicit value null for type f32] + expected: FAIL + + [Explicit value undefined for type f32] + expected: FAIL + + [Explicit value 2 for type f64] + expected: FAIL + + [Default value for type i32] + expected: FAIL + + [Explicit value false for type f64] + expected: FAIL + + [Explicit value "3" for type f64] + expected: FAIL + + [Explicit value null for type i32] + expected: FAIL + + [Explicit value object with toString for type i32] + expected: FAIL + + [Explicit value true for type f32] + expected: FAIL + + [Explicit value object with valueOf for type f64] + expected: FAIL + + [name] + expected: FAIL + + [Explicit value null for type f64] + expected: FAIL + + [Explicit value object with toString for type f64] + expected: FAIL + + [Default value for type f64] + expected: FAIL + + [Explicit value "3" for type i32] + expected: FAIL + + [length] + expected: FAIL + + [Explicit value object with valueOf for type i32] + expected: FAIL + + [Order of evaluation] + expected: FAIL + + [Explicit value "3" for type f32] + expected: FAIL + + +[constructor.any.worker.html] + [Explicit value object with toString for type f32] + expected: FAIL + + [Explicit value true for type f64] + expected: FAIL + + [Explicit value undefined for type f64] + expected: FAIL + + [Explicit value 2 for type f32] + expected: FAIL + + [i64 with default] + expected: FAIL + + [Explicit value 2 for type i32] + expected: FAIL + + [Explicit value false for type i32] + expected: FAIL + + [Default value for type f32] + expected: FAIL + + [Explicit value undefined for type i32] + expected: FAIL + + [Explicit value object with valueOf for type f32] + expected: FAIL + + [Explicit value false for type f32] + expected: FAIL + + [Explicit value true for type i32] + expected: FAIL + + [Explicit value null for type f32] + expected: FAIL + + [Explicit value undefined for type f32] + expected: FAIL + + [Explicit value 2 for type f64] + expected: FAIL + + [Default value for type i32] + expected: FAIL + + [Explicit value false for type f64] + expected: FAIL + + [Explicit value "3" for type f64] + expected: FAIL + + [Explicit value null for type i32] + expected: FAIL + + [Explicit value object with toString for type i32] + expected: FAIL + + [Explicit value true for type f32] + expected: FAIL + + [Explicit value object with valueOf for type f64] + expected: FAIL + + [name] + expected: FAIL + + [Explicit value null for type f64] + expected: FAIL + + [Explicit value object with toString for type f64] + expected: FAIL + + [Default value for type f64] + expected: FAIL + + [Explicit value "3" for type i32] + expected: FAIL + + [length] + expected: FAIL + + [Explicit value object with valueOf for type i32] + expected: FAIL + + [Order of evaluation] + expected: FAIL + + [Explicit value "3" for type f32] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/global/toString.any.js.ini b/tests/wpt/metadata/wasm/jsapi/global/toString.any.js.ini new file mode 100644 index 00000000000..6fc9a681760 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/global/toString.any.js.ini @@ -0,0 +1,9 @@ +[toString.any.html] + [Object.prototype.toString on an Global] + expected: FAIL + + +[toString.any.worker.html] + [Object.prototype.toString on an Global] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/global/value-set.any.js.ini b/tests/wpt/metadata/wasm/jsapi/global/value-set.any.js.ini new file mode 100644 index 00000000000..cf3cf67c5e8 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/global/value-set.any.js.ini @@ -0,0 +1,201 @@ +[value-set.any.html] + [Mutable f64 (true on prototype)] + expected: FAIL + + [Mutable i32 (true on prototype)] + expected: FAIL + + [Immutable f32 (missing)] + expected: FAIL + + [Immutable i32 (empty string)] + expected: FAIL + + [i64 with default] + expected: FAIL + + [Mutable f64 (one)] + expected: FAIL + + [Mutable f32 (string)] + expected: FAIL + + [Mutable i32 (true)] + expected: FAIL + + [Mutable i32 (string)] + expected: FAIL + + [Immutable f32 (false)] + expected: FAIL + + [Immutable f64 (empty string)] + expected: FAIL + + [Immutable i32 (undefined)] + expected: FAIL + + [Mutable f32 (one)] + expected: FAIL + + [Calling setter without argument] + expected: FAIL + + [Immutable i32 (zero)] + expected: FAIL + + [Immutable f64 (undefined)] + expected: FAIL + + [Mutable i32 (one)] + expected: FAIL + + [Immutable f32 (zero)] + expected: FAIL + + [Immutable i32 (null)] + expected: FAIL + + [Immutable f64 (false)] + expected: FAIL + + [Immutable f64 (missing)] + expected: FAIL + + [Immutable f64 (null)] + expected: FAIL + + [Mutable f32 (true on prototype)] + expected: FAIL + + [Immutable i32 (false)] + expected: FAIL + + [Immutable i32 (missing)] + expected: FAIL + + [Mutable f32 (true)] + expected: FAIL + + [Immutable f32 (null)] + expected: FAIL + + [Branding] + expected: FAIL + + [Immutable f64 (zero)] + expected: FAIL + + [Mutable f64 (true)] + expected: FAIL + + [Mutable f64 (string)] + expected: FAIL + + [Immutable f32 (empty string)] + expected: FAIL + + [Immutable f32 (undefined)] + expected: FAIL + + +[value-set.any.worker.html] + [Mutable f64 (true on prototype)] + expected: FAIL + + [Mutable i32 (true on prototype)] + expected: FAIL + + [Immutable f32 (missing)] + expected: FAIL + + [Immutable i32 (empty string)] + expected: FAIL + + [i64 with default] + expected: FAIL + + [Mutable f64 (one)] + expected: FAIL + + [Mutable f32 (string)] + expected: FAIL + + [Mutable i32 (true)] + expected: FAIL + + [Mutable i32 (string)] + expected: FAIL + + [Immutable f32 (false)] + expected: FAIL + + [Immutable f64 (empty string)] + expected: FAIL + + [Immutable i32 (undefined)] + expected: FAIL + + [Mutable f32 (one)] + expected: FAIL + + [Calling setter without argument] + expected: FAIL + + [Immutable i32 (zero)] + expected: FAIL + + [Immutable f64 (undefined)] + expected: FAIL + + [Mutable i32 (one)] + expected: FAIL + + [Immutable f32 (zero)] + expected: FAIL + + [Immutable i32 (null)] + expected: FAIL + + [Immutable f64 (false)] + expected: FAIL + + [Immutable f64 (missing)] + expected: FAIL + + [Immutable f64 (null)] + expected: FAIL + + [Mutable f32 (true on prototype)] + expected: FAIL + + [Immutable i32 (false)] + expected: FAIL + + [Immutable i32 (missing)] + expected: FAIL + + [Mutable f32 (true)] + expected: FAIL + + [Immutable f32 (null)] + expected: FAIL + + [Branding] + expected: FAIL + + [Immutable f64 (zero)] + expected: FAIL + + [Mutable f64 (true)] + expected: FAIL + + [Mutable f64 (string)] + expected: FAIL + + [Immutable f32 (empty string)] + expected: FAIL + + [Immutable f32 (undefined)] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/global/valueOf.any.js.ini b/tests/wpt/metadata/wasm/jsapi/global/valueOf.any.js.ini new file mode 100644 index 00000000000..db00839e79f --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/global/valueOf.any.js.ini @@ -0,0 +1,9 @@ +[valueOf.any.worker.html] + [Branding] + expected: FAIL + + +[valueOf.any.html] + [Branding] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/instance/constructor-bad-imports.any.js.ini b/tests/wpt/metadata/wasm/jsapi/instance/constructor-bad-imports.any.js.ini new file mode 100644 index 00000000000..50df713a8b3 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/instance/constructor-bad-imports.any.js.ini @@ -0,0 +1,5 @@ +[constructor-bad-imports.any.worker.html] + expected: ERROR + +[constructor-bad-imports.any.html] + expected: ERROR diff --git a/tests/wpt/metadata/wasm/jsapi/instance/constructor.any.js.ini b/tests/wpt/metadata/wasm/jsapi/instance/constructor.any.js.ini new file mode 100644 index 00000000000..1f493551629 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/instance/constructor.any.js.ini @@ -0,0 +1,9 @@ +[constructor.any.html] + [exports] + expected: FAIL + + +[constructor.any.worker.html] + [exports] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/interface.any.js.ini b/tests/wpt/metadata/wasm/jsapi/interface.any.js.ini new file mode 100644 index 00000000000..20cc7a4cd9b --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/interface.any.js.ini @@ -0,0 +1,101 @@ +[interface.any.html] + expected: ERROR + [WebAssembly.Table.get] + expected: FAIL + + [WebAssembly.Table.length] + expected: FAIL + + [WebAssembly.Module.imports] + expected: FAIL + + [WebAssembly.Module.exports] + expected: FAIL + + [WebAssembly.Memory.grow] + expected: FAIL + + [WebAssembly.Memory.buffer] + expected: FAIL + + [WebAssembly.Global: prototype] + expected: FAIL + + [WebAssembly.compile] + expected: FAIL + + [WebAssembly.Module.customSections] + expected: FAIL + + [WebAssembly.Table.set] + expected: FAIL + + [WebAssembly.Instance.exports] + expected: FAIL + + [WebAssembly.validate] + expected: FAIL + + [WebAssembly.Global: prototype.constructor] + expected: FAIL + + [WebAssembly.Global: property descriptor] + expected: FAIL + + [WebAssembly.instantiate] + expected: FAIL + + [WebAssembly.Table.grow] + expected: FAIL + + +[interface.any.worker.html] + expected: ERROR + [WebAssembly.Table.get] + expected: FAIL + + [WebAssembly.Table.length] + expected: FAIL + + [WebAssembly.Module.imports] + expected: FAIL + + [WebAssembly.Module.exports] + expected: FAIL + + [WebAssembly.Memory.grow] + expected: FAIL + + [WebAssembly.Memory.buffer] + expected: FAIL + + [WebAssembly.Global: prototype] + expected: FAIL + + [WebAssembly.compile] + expected: FAIL + + [WebAssembly.Module.customSections] + expected: FAIL + + [WebAssembly.Table.set] + expected: FAIL + + [WebAssembly.Instance.exports] + expected: FAIL + + [WebAssembly.validate] + expected: FAIL + + [WebAssembly.Global: prototype.constructor] + expected: FAIL + + [WebAssembly.Global: property descriptor] + expected: FAIL + + [WebAssembly.instantiate] + expected: FAIL + + [WebAssembly.Table.grow] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/memory/constructor.any.js.ini b/tests/wpt/metadata/wasm/jsapi/memory/constructor.any.js.ini new file mode 100644 index 00000000000..1f772686b95 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/memory/constructor.any.js.ini @@ -0,0 +1,93 @@ +[constructor.any.worker.html] + [Out-of-range maximum value in descriptor: -Infinity] + expected: FAIL + + [Out-of-range maximum value in descriptor: NaN] + expected: FAIL + + [Out-of-range maximum value in descriptor: 4294967296] + expected: FAIL + + [Out-of-range initial value in descriptor: NaN] + expected: FAIL + + [Proxy descriptor] + expected: FAIL + + [Out-of-range initial value in descriptor: Infinity] + expected: FAIL + + [Undefined initial value in descriptor] + expected: FAIL + + [Out-of-range maximum value in descriptor: 68719476736] + expected: FAIL + + [Out-of-range initial value in descriptor: 4294967296] + expected: FAIL + + [Out-of-range maximum value in descriptor: -1] + expected: FAIL + + [Invalid descriptor argument] + expected: FAIL + + [Out-of-range initial value in descriptor: -Infinity] + expected: FAIL + + [Out-of-range maximum value in descriptor: Infinity] + expected: FAIL + + [Out-of-range initial value in descriptor: -1] + expected: FAIL + + [Out-of-range initial value in descriptor: 68719476736] + expected: FAIL + + +[constructor.any.html] + [Out-of-range maximum value in descriptor: -Infinity] + expected: FAIL + + [Out-of-range maximum value in descriptor: NaN] + expected: FAIL + + [Out-of-range maximum value in descriptor: 4294967296] + expected: FAIL + + [Out-of-range initial value in descriptor: NaN] + expected: FAIL + + [Proxy descriptor] + expected: FAIL + + [Out-of-range initial value in descriptor: Infinity] + expected: FAIL + + [Undefined initial value in descriptor] + expected: FAIL + + [Out-of-range maximum value in descriptor: 68719476736] + expected: FAIL + + [Out-of-range initial value in descriptor: 4294967296] + expected: FAIL + + [Out-of-range maximum value in descriptor: -1] + expected: FAIL + + [Invalid descriptor argument] + expected: FAIL + + [Out-of-range initial value in descriptor: -Infinity] + expected: FAIL + + [Out-of-range maximum value in descriptor: Infinity] + expected: FAIL + + [Out-of-range initial value in descriptor: -1] + expected: FAIL + + [Out-of-range initial value in descriptor: 68719476736] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/memory/grow.any.js.ini b/tests/wpt/metadata/wasm/jsapi/memory/grow.any.js.ini new file mode 100644 index 00000000000..d478b35bd79 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/memory/grow.any.js.ini @@ -0,0 +1,63 @@ +[grow.any.worker.html] + [Out-of-range argument: 68719476736] + expected: FAIL + + [Out-of-range argument: 4294967296] + expected: FAIL + + [Missing arguments] + expected: FAIL + + [Out-of-range argument: -1] + expected: FAIL + + [Out-of-range argument: NaN] + expected: FAIL + + [Out-of-range argument: object "[object Object\]"] + expected: FAIL + + [Out-of-range argument: -Infinity] + expected: FAIL + + [Out-of-range argument: "0x100000000"] + expected: FAIL + + [Out-of-range argument: undefined] + expected: FAIL + + [Out-of-range argument: Infinity] + expected: FAIL + + +[grow.any.html] + [Out-of-range argument: 68719476736] + expected: FAIL + + [Out-of-range argument: 4294967296] + expected: FAIL + + [Missing arguments] + expected: FAIL + + [Out-of-range argument: -1] + expected: FAIL + + [Out-of-range argument: NaN] + expected: FAIL + + [Out-of-range argument: object "[object Object\]"] + expected: FAIL + + [Out-of-range argument: -Infinity] + expected: FAIL + + [Out-of-range argument: "0x100000000"] + expected: FAIL + + [Out-of-range argument: undefined] + expected: FAIL + + [Out-of-range argument: Infinity] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/module/customSections.any.js.ini b/tests/wpt/metadata/wasm/jsapi/module/customSections.any.js.ini new file mode 100644 index 00000000000..18816b55b2c --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/module/customSections.any.js.ini @@ -0,0 +1,9 @@ +[customSections.any.html] + [Missing arguments] + expected: FAIL + + +[customSections.any.worker.html] + [Missing arguments] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/module/exports.any.js.ini b/tests/wpt/metadata/wasm/jsapi/module/exports.any.js.ini new file mode 100644 index 00000000000..54360845d67 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/module/exports.any.js.ini @@ -0,0 +1,9 @@ +[exports.any.html] + [exports] + expected: FAIL + + +[exports.any.worker.html] + [exports] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/table/constructor.any.js.ini b/tests/wpt/metadata/wasm/jsapi/table/constructor.any.js.ini new file mode 100644 index 00000000000..44aefcd9aa1 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/table/constructor.any.js.ini @@ -0,0 +1,99 @@ +[constructor.any.html] + [Out-of-range maximum value in descriptor: -Infinity] + expected: FAIL + + [Out-of-range maximum value in descriptor: NaN] + expected: FAIL + + [Out-of-range maximum value in descriptor: 4294967296] + expected: FAIL + + [Out-of-range initial value in descriptor: NaN] + expected: FAIL + + [Proxy descriptor] + expected: FAIL + + [Out-of-range initial value in descriptor: Infinity] + expected: FAIL + + [Undefined initial value in descriptor] + expected: FAIL + + [Out-of-range maximum value in descriptor: 68719476736] + expected: FAIL + + [Out-of-range initial value in descriptor: 4294967296] + expected: FAIL + + [Out-of-range maximum value in descriptor: -1] + expected: FAIL + + [Order of evaluation for descriptor] + expected: FAIL + + [Out-of-range initial value in descriptor: -Infinity] + expected: FAIL + + [Out-of-range maximum value in descriptor: Infinity] + expected: FAIL + + [Type conversion for descriptor.element] + expected: FAIL + + [Out-of-range initial value in descriptor: -1] + expected: FAIL + + [Out-of-range initial value in descriptor: 68719476736] + expected: FAIL + + +[constructor.any.worker.html] + [Out-of-range maximum value in descriptor: -Infinity] + expected: FAIL + + [Out-of-range maximum value in descriptor: NaN] + expected: FAIL + + [Out-of-range maximum value in descriptor: 4294967296] + expected: FAIL + + [Out-of-range initial value in descriptor: NaN] + expected: FAIL + + [Proxy descriptor] + expected: FAIL + + [Out-of-range initial value in descriptor: Infinity] + expected: FAIL + + [Undefined initial value in descriptor] + expected: FAIL + + [Out-of-range maximum value in descriptor: 68719476736] + expected: FAIL + + [Out-of-range initial value in descriptor: 4294967296] + expected: FAIL + + [Out-of-range maximum value in descriptor: -1] + expected: FAIL + + [Order of evaluation for descriptor] + expected: FAIL + + [Out-of-range initial value in descriptor: -Infinity] + expected: FAIL + + [Out-of-range maximum value in descriptor: Infinity] + expected: FAIL + + [Type conversion for descriptor.element] + expected: FAIL + + [Out-of-range initial value in descriptor: -1] + expected: FAIL + + [Out-of-range initial value in descriptor: 68719476736] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/table/get-set.any.js.ini b/tests/wpt/metadata/wasm/jsapi/table/get-set.any.js.ini new file mode 100644 index 00000000000..bce5b3e6e88 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/table/get-set.any.js.ini @@ -0,0 +1,117 @@ +[get-set.any.worker.html] + [Setting out-of-range argument: NaN] + expected: FAIL + + [Getting out-of-range argument: undefined] + expected: FAIL + + [Setting out-of-range argument: -1] + expected: FAIL + + [Setting out-of-range argument: 4294967296] + expected: FAIL + + [Getting out-of-range argument: NaN] + expected: FAIL + + [Getting out-of-range argument: 4294967296] + expected: FAIL + + [Setting out-of-range argument: "0x100000000"] + expected: FAIL + + [Setting out-of-range argument: object "[object Object\]"] + expected: FAIL + + [Setting out-of-range argument: Infinity] + expected: FAIL + + [Setting out-of-range argument: 68719476736] + expected: FAIL + + [Missing arguments: get] + expected: FAIL + + [Getting out-of-range argument: 68719476736] + expected: FAIL + + [Getting out-of-range argument: Infinity] + expected: FAIL + + [Setting out-of-range argument: undefined] + expected: FAIL + + [Getting out-of-range argument: -1] + expected: FAIL + + [Getting out-of-range argument: "0x100000000"] + expected: FAIL + + [Getting out-of-range argument: object "[object Object\]"] + expected: FAIL + + [Setting out-of-range argument: -Infinity] + expected: FAIL + + [Getting out-of-range argument: -Infinity] + expected: FAIL + + +[get-set.any.html] + [Setting out-of-range argument: NaN] + expected: FAIL + + [Getting out-of-range argument: undefined] + expected: FAIL + + [Setting out-of-range argument: -1] + expected: FAIL + + [Setting out-of-range argument: 4294967296] + expected: FAIL + + [Getting out-of-range argument: NaN] + expected: FAIL + + [Getting out-of-range argument: 4294967296] + expected: FAIL + + [Setting out-of-range argument: "0x100000000"] + expected: FAIL + + [Setting out-of-range argument: object "[object Object\]"] + expected: FAIL + + [Setting out-of-range argument: Infinity] + expected: FAIL + + [Setting out-of-range argument: 68719476736] + expected: FAIL + + [Missing arguments: get] + expected: FAIL + + [Getting out-of-range argument: 68719476736] + expected: FAIL + + [Getting out-of-range argument: Infinity] + expected: FAIL + + [Setting out-of-range argument: undefined] + expected: FAIL + + [Getting out-of-range argument: -1] + expected: FAIL + + [Getting out-of-range argument: "0x100000000"] + expected: FAIL + + [Getting out-of-range argument: object "[object Object\]"] + expected: FAIL + + [Setting out-of-range argument: -Infinity] + expected: FAIL + + [Getting out-of-range argument: -Infinity] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/jsapi/table/grow.any.js.ini b/tests/wpt/metadata/wasm/jsapi/table/grow.any.js.ini new file mode 100644 index 00000000000..11b89d68fa9 --- /dev/null +++ b/tests/wpt/metadata/wasm/jsapi/table/grow.any.js.ini @@ -0,0 +1,63 @@ +[grow.any.html] + [Out-of-range argument: 68719476736] + expected: FAIL + + [Out-of-range argument: -Infinity] + expected: FAIL + + [Out-of-range argument: 4294967296] + expected: FAIL + + [Out-of-range argument: Infinity] + expected: FAIL + + [Missing arguments] + expected: FAIL + + [Out-of-range argument: -1] + expected: FAIL + + [Out-of-range argument: undefined] + expected: FAIL + + [Out-of-range argument: NaN] + expected: FAIL + + [Out-of-range argument: object "[object Object\]"] + expected: FAIL + + [Out-of-range argument: "0x100000000"] + expected: FAIL + + +[grow.any.worker.html] + [Out-of-range argument: 68719476736] + expected: FAIL + + [Out-of-range argument: -Infinity] + expected: FAIL + + [Out-of-range argument: 4294967296] + expected: FAIL + + [Out-of-range argument: Infinity] + expected: FAIL + + [Missing arguments] + expected: FAIL + + [Out-of-range argument: -1] + expected: FAIL + + [Out-of-range argument: undefined] + expected: FAIL + + [Out-of-range argument: NaN] + expected: FAIL + + [Out-of-range argument: object "[object Object\]"] + expected: FAIL + + [Out-of-range argument: "0x100000000"] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/broadcastchannel-success-and-failure.html.ini b/tests/wpt/metadata/wasm/serialization/broadcastchannel-success-and-failure.html.ini new file mode 100644 index 00000000000..5b9a17d8f5b --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/broadcastchannel-success-and-failure.html.ini @@ -0,0 +1,4 @@ +[broadcastchannel-success-and-failure.html] + [WebAssembly.Module cannot cross agent clusters, BroadcastChannel edition] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/broadcastchannel-success.html.ini b/tests/wpt/metadata/wasm/serialization/broadcastchannel-success.html.ini new file mode 100644 index 00000000000..50d9fdee6c9 --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/broadcastchannel-success.html.ini @@ -0,0 +1,4 @@ +[broadcastchannel-success.html] + [Structured cloning of WebAssembly.Module: BroadcastChannel within the same agent cluster] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/identity-not-preserved.html.ini b/tests/wpt/metadata/wasm/serialization/identity-not-preserved.html.ini new file mode 100644 index 00000000000..394cfbc06d7 --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/identity-not-preserved.html.ini @@ -0,0 +1,11 @@ +[identity-not-preserved.html] + expected: TIMEOUT + [postMessaging to this window does not give back the same WebAssembly.Module] + expected: TIMEOUT + + [postMessaging to a worker and back does not give back the same WebAssembly.Module] + expected: TIMEOUT + + [postMessaging to an iframe and back does not give back the same WebAssembly.Module] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/wasm/serialization/nested-worker-success.any.js.ini b/tests/wpt/metadata/wasm/serialization/nested-worker-success.any.js.ini new file mode 100644 index 00000000000..c5630c0fce9 --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/nested-worker-success.any.js.ini @@ -0,0 +1,9 @@ +[nested-worker-success.any.sharedworker.html] + [nested-worker-success] + expected: FAIL + + +[nested-worker-success.any.worker.html] + [postMessaging to a dedicated sub-worker allows them to see each others' modifications] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/no-transferring.html.ini b/tests/wpt/metadata/wasm/serialization/no-transferring.html.ini new file mode 100644 index 00000000000..af448eaecf2 --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/no-transferring.html.ini @@ -0,0 +1,10 @@ +[no-transferring.html] + [Trying to transfer a WebAssembly.Module to a worker throws] + expected: FAIL + + [Trying to transfer a WebAssembly.Module through a MessagePort throws] + expected: FAIL + + [Trying to transfer a WebAssembly.Module to this window throws] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/serialization-via-idb.any.js.ini b/tests/wpt/metadata/wasm/serialization/serialization-via-idb.any.js.ini new file mode 100644 index 00000000000..9b767ec6435 --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/serialization-via-idb.any.js.ini @@ -0,0 +1,15 @@ +[serialization-via-idb.any.worker.html] + [WebAssembly.Module cloning via the IndexedDB: is interleaved correctly] + expected: FAIL + + [WebAssembly.Module cloning via IndexedDB: basic case] + expected: FAIL + + +[serialization-via-idb.any.html] + [WebAssembly.Module cloning via the IndexedDB: is interleaved correctly] + expected: FAIL + + [WebAssembly.Module cloning via IndexedDB: basic case] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/serialization-via-notifications-api.any.js.ini b/tests/wpt/metadata/wasm/serialization/serialization-via-notifications-api.any.js.ini new file mode 100644 index 00000000000..bb6adeaf259 --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/serialization-via-notifications-api.any.js.ini @@ -0,0 +1,15 @@ +[serialization-via-notifications-api.any.html] + [WebAssembly.Module cloning via the Notifications API's data member: basic case] + expected: FAIL + + [WebAssembly.Module cloning via the Notifications API's data member: is interleaved correctly] + expected: FAIL + + +[serialization-via-notifications-api.any.worker.html] + [WebAssembly.Module cloning via the Notifications API's data member: basic case] + expected: FAIL + + [WebAssembly.Module cloning via the Notifications API's data member: is interleaved correctly] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/window-domain-success.sub.html.ini b/tests/wpt/metadata/wasm/serialization/window-domain-success.sub.html.ini new file mode 100644 index 00000000000..cc8bf757e8f --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/window-domain-success.sub.html.ini @@ -0,0 +1,4 @@ +[window-domain-success.sub.html] + [postMessaging to a same-origin-domain (but not same-origin) iframe allows them to instantiate] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/window-messagechannel-success.html.ini b/tests/wpt/metadata/wasm/serialization/window-messagechannel-success.html.ini new file mode 100644 index 00000000000..3d5f3dffc9f --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/window-messagechannel-success.html.ini @@ -0,0 +1,4 @@ +[window-messagechannel-success.html] + [postMessaging to a dedicated worker via MessageChannel allows them to instantiate] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/window-serviceworker-failure.https.html.ini b/tests/wpt/metadata/wasm/serialization/window-serviceworker-failure.https.html.ini new file mode 100644 index 00000000000..e364efb71bd --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/window-serviceworker-failure.https.html.ini @@ -0,0 +1,4 @@ +[window-serviceworker-failure.https.html] + [WebAssembly.Module cannot cross agent clusters, service worker edition] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/window-sharedworker-failure.html.ini b/tests/wpt/metadata/wasm/serialization/window-sharedworker-failure.html.ini new file mode 100644 index 00000000000..8b35b3b7739 --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/window-sharedworker-failure.html.ini @@ -0,0 +1,4 @@ +[window-sharedworker-failure.html] + [WebAssembly.Modules cannot cross agent clusters, shared worker edition] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/window-similar-but-cross-origin-success.sub.html.ini b/tests/wpt/metadata/wasm/serialization/window-similar-but-cross-origin-success.sub.html.ini new file mode 100644 index 00000000000..6383bcb6d88 --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/window-similar-but-cross-origin-success.sub.html.ini @@ -0,0 +1,4 @@ +[window-similar-but-cross-origin-success.sub.html] + [postMessaging to a not same-origin-domain, but similar origin, iframe allows them to instantiate] + expected: FAIL + diff --git a/tests/wpt/metadata/wasm/serialization/window-simple-success.html.ini b/tests/wpt/metadata/wasm/serialization/window-simple-success.html.ini new file mode 100644 index 00000000000..45431db4f4e --- /dev/null +++ b/tests/wpt/metadata/wasm/serialization/window-simple-success.html.ini @@ -0,0 +1,13 @@ +[window-simple-success.html] + [postMessaging to a same-origin opened window allows them to instantiate] + expected: FAIL + + [postMessaging to a same-origin deeply-nested iframe allows them to instantiate] + expected: FAIL + + [postMessaging to a dedicated worker allows them to instantiate] + expected: FAIL + + [postMessaging to a same-origin iframe allows them to instantiate] + expected: FAIL +