New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 685713 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

WASM module deserialization can throw exception despite TryCatch

Project Member Reported by jbroman@chromium.org, Jan 26 2017

Issue description

Blink catches all deserialization failures and produces 'null' (i.e., the 'data' getter on MessageEvent cannot throw, etc.).

WASM is currently getting past this, because it's scheduling an exception but it isn't promoted, so it escapes the TryCatch in V8ScriptValueDeserializer and gets thrown by the runtime later on.

It should promote the exception like everything else does. This will require changing a layout test which currently expects the exception.
 
Cc: mtrofin@chromium.org
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 26 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c972f1886fe4ea5a7fa8e467a499aeae2a315db9

commit c972f1886fe4ea5a7fa8e467a499aeae2a315db9
Author: jbroman <jbroman@chromium.org>
Date: Thu Jan 26 21:56:23 2017

Mark wasm_serialization_tests.html as possibly failing while a V8-side change lands.

BUG= 685713 

Review-Url: https://codereview.chromium.org/2657873005
Cr-Commit-Position: refs/heads/master@{#446464}

[modify] https://crrev.com/c972f1886fe4ea5a7fa8e467a499aeae2a315db9/third_party/WebKit/LayoutTests/TestExpectations

Cc: bradnelson@chromium.org
Labels: Hostlist-Wasm
https://codereview.chromium.org/2659483004 also landed on the V8 side (but I forgot the chromium: prefix, so bugdroid didn't comment).
Status: Fixed (was: Started)

Sign in to add a comment