From ffa75be48044255ed49a822a7a61a2a130123a4a Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Sat, 3 Jul 2021 23:33:36 +0200 Subject: feat: enable WebAssembly.instantiateStreaming and wasm async compilation (#11200) The WebAssembly streaming APIs used to be enabled, but used to take buffer sources as their first argument (see #6154 and #7259). This change re-enables them, requiring a Promise instead, as well as enabling asynchronous compilation of WebAssembly modules. --- tools/wpt/expectation.json | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'tools/wpt') diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index b67c0d2ff..847eb110c 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -603,23 +603,23 @@ } }, "webapi": { - "abort.any.html": false, - "body.any.html": false, - "contenttype.any.html": false, - "empty-body.any.html": false, + "abort.any.html": true, + "body.any.html": true, + "contenttype.any.html": true, + "empty-body.any.html": true, "historical.any.html": false, - "idlharness.any.html": [ - "WebAssembly namespace: operation compileStreaming(Promise)", - "WebAssembly namespace: operation instantiateStreaming(Promise, optional object)" + "idlharness.any.html": true, + "instantiateStreaming-bad-imports.any.html": true, + "instantiateStreaming.any.html": true, + "invalid-args.any.html": true, + "invalid-code.any.html": true, + "modified-contenttype.any.html": true, + "origin.sub.any.html": [ + "Opaque response: compileStreaming", + "Opaque response: instantiateStreaming" ], - "instantiateStreaming-bad-imports.any.html": false, - "instantiateStreaming.any.html": false, - "invalid-args.any.html": false, - "invalid-code.any.html": false, - "modified-contenttype.any.html": false, - "origin.sub.any.html": false, - "rejected-arg.any.html": false, - "status.any.html": false + "rejected-arg.any.html": true, + "status.any.html": true } }, "WebIDL": { -- cgit v1.2.3