DescriptionV8 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=mstarzinger@chromium.org, vsevik@chromium.org, yangguo@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21697
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Total comments: 4
Patch Set 3 : #Patch Set 4 : #
Total comments: 5
Patch Set 5 : #
Total comments: 2
Patch Set 6 : #Patch Set 7 : #
Messages
Total messages: 14 (0 generated)
|