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=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 : #
Messages
Total messages: 5 (0 generated)
|