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

Issue 321763002: Don't clear exception pending message if we have externally TryCatch and finally on top of stack. (Closed)

Created:
6 years, 6 months ago by kozyatinskiy1
Modified:
6 years, 6 months ago
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

V8 can clear exception pending message, when should not do this. The case: v8::TryCatch try_catch; CompileRun(try { CEvaluate('throw 1;'); } finally {}); CHECK(try_catch.HasCaught()); CHECK(!try_catch.Message().IsEmpty()); CEvaluate is native call. Last check is not passed without patch. Patch contains test TryCatchFinallyStoresMessageUsingTryCatchHandler with more details. R=yangguo@chromium.org, mstarzinger@chromium.org, vsevik@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21755

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -21 lines) Patch
M src/isolate.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M src/isolate.cc View 1 2 5 chunks +23 lines, -19 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kozyatinskiy1
Yang and Michael, Could you please have a look on last patch set?
6 years, 6 months ago (2014-06-09 08:24:46 UTC) #1
kozyatinskiy1
This patch continues https://codereview.chromium.org/306463002/ First patch set is last reviewed patch set from https://codereview.chromium.org/306463002/ Second ...
6 years, 6 months ago (2014-06-09 11:26:33 UTC) #2
Yang
lgtm with comment. https://codereview.chromium.org/321763002/diff/20001/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/321763002/diff/20001/src/isolate.cc#newcode1732 src/isolate.cc:1732: if (is_finally_on_top) { can't we just ...
6 years, 6 months ago (2014-06-10 14:57:45 UTC) #3
kozyatinskiy1
On 2014/06/10 14:57:45, Yang wrote: > lgtm with comment. > > https://codereview.chromium.org/321763002/diff/20001/src/isolate.cc > File src/isolate.cc ...
6 years, 6 months ago (2014-06-10 15:35:24 UTC) #4
yurys
6 years, 6 months ago (2014-06-11 05:48:41 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r21755 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698