[v8][wasm] Throw TypeError if Response status is not ok
The WebAssembly spec [1] requires that a TypeError is thrown if the status of the Response input of streaming compilation is not ok. I added layout tests for this, and cleaned up the surrounding tests a bit. [1] https://github.com/WebAssembly/design/blob/master/Web.md#webassemblycompilestreaming R=mlippautz@chromium.org, mathias@chromium.org also-by: mathias@chromium.org Bug: chromium:832552 Change-Id: Icd50e537ab659662708274a96959eb94d7fbc554 Reviewed-on: https://chromium-review.googlesource.com/1012035Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#551269}
Showing
Please register or sign in to comment