Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1738)

Issue 461593002: Remove V8TryCatchRethrowScope from private script bindings (Closed)

Created:
6 years, 4 months ago by haraken
Modified:
6 years, 4 months ago
Reviewers:
vivekg, Jens Widell
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, abarth-chromium
Project:
blink
Visibility:
Public.

Description

Remove V8TryCatchRethrowScope from private script bindings When a private script throws an exception, what the private script binding does is: - if the exception is the one supported in private scripts, the private script binding clones the exception in the user's script and throws it. - if the exception is the one not (yet) supported in private scripts, the private script binding dies. Since these operations are done explicitly, we should use ReThrow() instead of relying on V8TryCatchRethrowScope. (V8TryCatchRethrowScope is not a proper mechanism for doing this because V8TryCatchRethrowScope is intended to be used to rethrow an exception the way it is without doing any conversion.) BUG=341031 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179955

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -22 lines) Patch
M Source/bindings/templates/attributes.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/templates/methods.cpp View 1 3 chunks +2 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestInterface.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 16 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
haraken
PTAL
6 years, 4 months ago (2014-08-11 11:45:02 UTC) #1
haraken
6 years, 4 months ago (2014-08-11 11:45:19 UTC) #2
Jens Widell
LGTM
6 years, 4 months ago (2014-08-11 11:49:14 UTC) #3
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-11 12:51:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/461593002/1
6 years, 4 months ago (2014-08-11 12:52:37 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-11 12:52:44 UTC) #6
commit-bot: I haz the power
Failed to apply patch for Source/bindings/tests/results/V8TestObject.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 4 months ago (2014-08-11 12:52:45 UTC) #7
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-11 13:40:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/461593002/20001
6 years, 4 months ago (2014-08-11 13:41:38 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 14:38:53 UTC) #10
Message was sent while issue was closed.
Change committed as 179955

Powered by Google App Engine
This is Rietveld 408576698