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

Issue 871403007: Make exception throwing more robust in V8 out-of-stack situations (Closed)

Created:
5 years, 10 months ago by Jens Widell
Modified:
5 years, 10 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make exception throwing more robust in V8 out-of-stack situations If V8 throws an exception when Blink tries to create an exception to throw, return V8's exception instead of undefined, since it makes sense in that case to propagate V8's exception. BUG=454607 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189489

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M Source/bindings/core/v8/V8PerContextData.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/core/v8/V8ThrowException.cpp View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Jens Widell
PTAL I guess we might also want to RELEASE_ASSERT() that we're actually throwing an exception ...
5 years, 10 months ago (2015-02-04 09:37:33 UTC) #2
haraken
https://codereview.chromium.org/871403007/diff/1/Source/bindings/core/v8/V8ThrowException.cpp File Source/bindings/core/v8/V8ThrowException.cpp (right): https://codereview.chromium.org/871403007/diff/1/Source/bindings/core/v8/V8ThrowException.cpp#newcode82 Source/bindings/core/v8/V8ThrowException.cpp:82: } I might be misunderstanding but why is this ...
5 years, 10 months ago (2015-02-04 09:41:42 UTC) #3
Jens Widell
https://codereview.chromium.org/871403007/diff/1/Source/bindings/core/v8/V8ThrowException.cpp File Source/bindings/core/v8/V8ThrowException.cpp (right): https://codereview.chromium.org/871403007/diff/1/Source/bindings/core/v8/V8ThrowException.cpp#newcode82 Source/bindings/core/v8/V8ThrowException.cpp:82: } On 2015/02/04 09:41:41, haraken wrote: > > I ...
5 years, 10 months ago (2015-02-04 09:48:02 UTC) #4
Jens Widell
https://codereview.chromium.org/871403007/diff/1/Source/bindings/core/v8/V8ThrowException.cpp File Source/bindings/core/v8/V8ThrowException.cpp (right): https://codereview.chromium.org/871403007/diff/1/Source/bindings/core/v8/V8ThrowException.cpp#newcode82 Source/bindings/core/v8/V8ThrowException.cpp:82: } On 2015/02/04 09:48:01, Jens Widell wrote: > On ...
5 years, 10 months ago (2015-02-04 09:50:52 UTC) #5
haraken
LGTM
5 years, 10 months ago (2015-02-04 10:52:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871403007/10003
5 years, 10 months ago (2015-02-04 10:53:51 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:10003) as https://src.chromium.org/viewvc/blink?view=rev&revision=189489
5 years, 10 months ago (2015-02-04 11:54:56 UTC) #9
leviw_travelin_and_unemployed
5 years, 10 months ago (2015-02-04 20:07:33 UTC) #11
Message was sent while issue was closed.
Why no test?

Powered by Google App Engine
This is Rietveld 408576698