[wasm][wpt] Adjust error handling for null response bodies
Since a Response object with a null body is valid, we should throw a WebAssembly.CompileError instead of a TypeError for WebAssembly.compileStreaming and WebAssembly.instantiateStreaming. This allows us to remove the expected results from the corresponding WPT test because it passes now. R=ahaas@chromium.org Depends-On: I238288de73283a06c5075d0060977b366c0fbe09 Change-Id: I19568e6c0906de518fd6e5b417ef7e045e9d43c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2142212Reviewed-by:Andreas Haas <ahaas@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Emanuel Ziegler <ecmziegler@chromium.org> Cr-Commit-Position: refs/heads/master@{#760475}
Showing
Please register or sign in to comment