diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/wasm/webapi | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/wasm/webapi')
30 files changed, 276 insertions, 0 deletions
diff --git a/testing/web-platform/meta/wasm/webapi/__dir__.ini b/testing/web-platform/meta/wasm/webapi/__dir__.ini new file mode 100644 index 0000000000..82abf170d7 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/__dir__.ini @@ -0,0 +1 @@ +lsan-allowed: [maybe_pod_malloc] diff --git a/testing/web-platform/meta/wasm/webapi/abort.any.js.ini b/testing/web-platform/meta/wasm/webapi/abort.any.js.ini new file mode 100644 index 0000000000..1259328170 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/abort.any.js.ini @@ -0,0 +1,13 @@ +[abort.any.worker.html] + [compileStreaming() synchronously followed by abort should reject with AbortError] + expected: + if (os == "linux") and not debug and fission and (processor == "x86_64"): [PASS, FAIL] + if (os == "linux") and not debug and fission and (processor == "x86"): [PASS, FAIL] + if (os == "linux") and not debug and not fission: [PASS, FAIL] + + [instantiateStreaming() synchronously followed by abort should reject with AbortError] + expected: + if (os == "linux") and not fission and not debug: [PASS, FAIL] + + +[abort.any.html] diff --git a/testing/web-platform/meta/wasm/webapi/body.any.js.ini b/testing/web-platform/meta/wasm/webapi/body.any.js.ini new file mode 100644 index 0000000000..82fffef5b3 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/body.any.js.ini @@ -0,0 +1,15 @@ +[body.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[body.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[body.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[body.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/contenttype.any.js.ini b/testing/web-platform/meta/wasm/webapi/contenttype.any.js.ini new file mode 100644 index 0000000000..7122502e91 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/contenttype.any.js.ini @@ -0,0 +1,15 @@ +[contenttype.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[contenttype.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[contenttype.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[contenttype.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/empty-body.any.js.ini b/testing/web-platform/meta/wasm/webapi/empty-body.any.js.ini new file mode 100644 index 0000000000..7fc225f5bc --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/empty-body.any.js.ini @@ -0,0 +1,15 @@ +[empty-body.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[empty-body.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[empty-body.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[empty-body.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/execute-start.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/execute-start.tentative.html.ini new file mode 100644 index 0000000000..e45812d3f2 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/execute-start.tentative.html.ini @@ -0,0 +1,3 @@ +[execute-start.tentative.html] + [Importing a WebAssembly module should execute the start function.] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/exported-names.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/exported-names.tentative.html.ini new file mode 100644 index 0000000000..59165fdae9 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/exported-names.tentative.html.ini @@ -0,0 +1,2 @@ +[exported-names.tentative.html] + expected: TIMEOUT diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/invalid-bytecode.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/invalid-bytecode.tentative.html.ini new file mode 100644 index 0000000000..aeb283b97a --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/invalid-bytecode.tentative.html.ini @@ -0,0 +1,5 @@ +[invalid-bytecode.tentative.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Test that imports of invalid WebAssembly modules leads to WebAssembly.CompileError on window.] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/js-wasm-cycle-errors.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/js-wasm-cycle-errors.tentative.html.ini new file mode 100644 index 0000000000..9c65dc5091 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/js-wasm-cycle-errors.tentative.html.ini @@ -0,0 +1,3 @@ +[js-wasm-cycle-errors.tentative.html] + [Check cyclic linking between JavaScript and WebAssembly where JavaScript is higher in the module graph.] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/js-wasm-cycle.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/js-wasm-cycle.tentative.html.ini new file mode 100644 index 0000000000..4d1686f648 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/js-wasm-cycle.tentative.html.ini @@ -0,0 +1,2 @@ +[js-wasm-cycle.tentative.html] + expected: TIMEOUT diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/module-parse-error.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/module-parse-error.tentative.html.ini new file mode 100644 index 0000000000..d101d1fd51 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/module-parse-error.tentative.html.ini @@ -0,0 +1,5 @@ +[module-parse-error.tentative.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Test that imports of invalid WebAssembly modules leads to WebAssembly.CompileError on window.] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/resolve-export.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/resolve-export.tentative.html.ini new file mode 100644 index 0000000000..975e4d4002 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/resolve-export.tentative.html.ini @@ -0,0 +1,3 @@ +[resolve-export.tentative.html] + [Re-export of missing Wasm export should result in SyntaxError.] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-import-wasm-export.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-import-wasm-export.tentative.html.ini new file mode 100644 index 0000000000..37ff951636 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-import-wasm-export.tentative.html.ini @@ -0,0 +1,2 @@ +[wasm-import-wasm-export.tentative.html] + expected: TIMEOUT diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-import.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-import.tentative.html.ini new file mode 100644 index 0000000000..34e1ba6bfa --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-import.tentative.html.ini @@ -0,0 +1,3 @@ +[wasm-import.tentative.html] + [Invalid imports for WebAssembly modules should error.] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-js-cycle.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-js-cycle.tentative.html.ini new file mode 100644 index 0000000000..589d5a94e7 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-js-cycle.tentative.html.ini @@ -0,0 +1,2 @@ +[wasm-js-cycle.tentative.html] + expected: TIMEOUT diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-to-wasm-link-error.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-to-wasm-link-error.tentative.html.ini new file mode 100644 index 0000000000..a22c7ab0a2 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/wasm-to-wasm-link-error.tentative.html.ini @@ -0,0 +1,5 @@ +[wasm-to-wasm-link-error.tentative.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Link errors for imports between WebAssembly modules should be reported.] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/worker-import.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/worker-import.tentative.html.ini new file mode 100644 index 0000000000..01dff9af8b --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/worker-import.tentative.html.ini @@ -0,0 +1,3 @@ +[worker-import.tentative.html] + [Testing import of WebAssembly from JavaScript worker] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/esm-integration/worker.tentative.html.ini b/testing/web-platform/meta/wasm/webapi/esm-integration/worker.tentative.html.ini new file mode 100644 index 0000000000..1efe238c14 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/esm-integration/worker.tentative.html.ini @@ -0,0 +1,4 @@ +[worker.tentative.html] + expected: TIMEOUT + [Testing WebAssembly worker] + expected: NOTRUN diff --git a/testing/web-platform/meta/wasm/webapi/historical.any.js.ini b/testing/web-platform/meta/wasm/webapi/historical.any.js.ini new file mode 100644 index 0000000000..75963b982f --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/historical.any.js.ini @@ -0,0 +1,15 @@ +[historical.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[historical.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[historical.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[historical.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/idlharness.any.js.ini b/testing/web-platform/meta/wasm/webapi/idlharness.any.js.ini new file mode 100644 index 0000000000..327ea0e2e9 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/idlharness.any.js.ini @@ -0,0 +1,7 @@ +[idlharness.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[idlharness.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/instantiateStreaming-bad-imports.any.js.ini b/testing/web-platform/meta/wasm/webapi/instantiateStreaming-bad-imports.any.js.ini new file mode 100644 index 0000000000..ffec25d272 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/instantiateStreaming-bad-imports.any.js.ini @@ -0,0 +1,15 @@ +[instantiateStreaming-bad-imports.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[instantiateStreaming-bad-imports.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[instantiateStreaming-bad-imports.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[instantiateStreaming-bad-imports.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/instantiateStreaming.any.js.ini b/testing/web-platform/meta/wasm/webapi/instantiateStreaming.any.js.ini new file mode 100644 index 0000000000..9ce6a3ee91 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/instantiateStreaming.any.js.ini @@ -0,0 +1,15 @@ +[instantiateStreaming.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[instantiateStreaming.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[instantiateStreaming.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[instantiateStreaming.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/invalid-args.any.js.ini b/testing/web-platform/meta/wasm/webapi/invalid-args.any.js.ini new file mode 100644 index 0000000000..8fd304ad1c --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/invalid-args.any.js.ini @@ -0,0 +1,15 @@ +[invalid-args.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[invalid-args.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[invalid-args.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[invalid-args.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/invalid-code.any.js.ini b/testing/web-platform/meta/wasm/webapi/invalid-code.any.js.ini new file mode 100644 index 0000000000..013bfc0283 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/invalid-code.any.js.ini @@ -0,0 +1,15 @@ +[invalid-code.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[invalid-code.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[invalid-code.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[invalid-code.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/modified-contenttype.any.js.ini b/testing/web-platform/meta/wasm/webapi/modified-contenttype.any.js.ini new file mode 100644 index 0000000000..c2c8950057 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/modified-contenttype.any.js.ini @@ -0,0 +1,15 @@ +[modified-contenttype.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[modified-contenttype.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[modified-contenttype.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[modified-contenttype.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/origin.sub.any.js.ini b/testing/web-platform/meta/wasm/webapi/origin.sub.any.js.ini new file mode 100644 index 0000000000..af8e8d3dd1 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/origin.sub.any.js.ini @@ -0,0 +1,15 @@ +[origin.sub.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[origin.sub.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[origin.sub.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[origin.sub.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/rejected-arg.any.js.ini b/testing/web-platform/meta/wasm/webapi/rejected-arg.any.js.ini new file mode 100644 index 0000000000..13362383bb --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/rejected-arg.any.js.ini @@ -0,0 +1,15 @@ +[rejected-arg.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[rejected-arg.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[rejected-arg.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[rejected-arg.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/wasm/webapi/status.any.js.ini b/testing/web-platform/meta/wasm/webapi/status.any.js.ini new file mode 100644 index 0000000000..d0b1737170 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/status.any.js.ini @@ -0,0 +1,38 @@ +[status.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Response with status 0: compileStreaming] + expected: FAIL + + [Response with status 0: instantiateStreaming] + expected: FAIL + + +[status.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Response with status 0: compileStreaming] + expected: FAIL + + [Response with status 0: instantiateStreaming] + expected: FAIL + + +[status.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Response with status 0: compileStreaming] + expected: FAIL + + [Response with status 0: instantiateStreaming] + expected: FAIL + + +[status.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Response with status 0: compileStreaming] + expected: FAIL + + [Response with status 0: instantiateStreaming] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/wasm_stream_compile_test.html.ini b/testing/web-platform/meta/wasm/webapi/wasm_stream_compile_test.html.ini new file mode 100644 index 0000000000..dd2cbaba69 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/wasm_stream_compile_test.html.ini @@ -0,0 +1,5 @@ +[wasm_stream_compile_test.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [compileStreaming using ReadableStream with ArrayBuffer chunk] + expected: FAIL diff --git a/testing/web-platform/meta/wasm/webapi/wasm_stream_instantiate_test.html.ini b/testing/web-platform/meta/wasm/webapi/wasm_stream_instantiate_test.html.ini new file mode 100644 index 0000000000..cd8676e1c3 --- /dev/null +++ b/testing/web-platform/meta/wasm/webapi/wasm_stream_instantiate_test.html.ini @@ -0,0 +1,5 @@ +[wasm_stream_instantiate_test.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [instantiateStreaming using ReadableStream with ArrayBuffer chunk] + expected: FAIL |