• Clemens Hammacher's avatar
    [wasm] Check that sync and async errors match · 7a8cd551
    Clemens Hammacher authored
    This makes the existing error message tests also test the error
    produced by asynchronous compilation and instantiation.
    It also slightly tweaks the error message to contain the name of the
    API function invoked instead of "WebAssembly Instantiation".
    
    R=titzer@chromium.org
    
    Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
    Bug: chromium:926311
    Change-Id: If4ab963cee8267d43b289169d21b31637c471d6d
    Reviewed-on: https://chromium-review.googlesource.com/c/1456085
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59442}
    7a8cd551
wasm-js.cc 72 KB