[Webkit-unassigned] [Bug 184886] WebAssembly: add support for stream APIs - JavaScript API: Implement loading for the Blob type
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 23 09:49:22 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=184886
--- Comment #2 from GSkachkov <gskachkov at gmail.com> ---
(In reply to JF Bastien from comment #1)
> You mean this: https://developer.mozilla.org/en-US/docs/Web/API/Blob ?
Yeah, this currently fails:
```
const blob = new Blob(...);
WebAssembly.instantiateStreaming(new Response(blob, { headers: { "Content-Type" : "application/wasm" }}));
```
currently my patch support only Responses manually created from ReadableStream:
```
const stream = new ReadableStream(...);
WebAssembly.instantiateStreaming(new Response(stream, { headers: { "Content-Type" : "application/wasm" }}));
```
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180423/bfea762c/attachment.html>
More information about the webkit-unassigned
mailing list