[wasm] Stricter MIME type test on WebAssembly streaming APIs
The WebAssembly Web API spec[1] prescribes that the responses for `WebAssembly.{compile,instantiate}Streaming()` must have the `Content-Type` header `application/wasm` without any extra parameters. So far we ignored extra parameters, causing interop issues with Firefox. [1]: https://www.w3.org/TR/wasm-web-api-1/#streaming-modules Bug: 1057973 Change-Id: I2273e2b5577dc6a11343536d55fa72b9e518c0f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2085257 Commit-Queue: Surma <surma@chromium.org> Reviewed-by:Andreas Haas <ahaas@chromium.org> Reviewed-by:
Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#747693}
Showing
Please register or sign in to comment