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

Issue 443853002: v8::TryCatch should cancel the scheduled exception on Reset. (Closed)

Created:
6 years, 4 months ago by yhirano
Modified:
6 years, 4 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev, Paweł Hajdan Jr., Jens Widell
Base URL:
git://github.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

v8::TryCatch should cancel the scheduled exception on Reset. v8::TryCatch cancels the scheduled exception on destruction if |Rethrow| was never called. It is reasonable to do the same in |Reset|. BUG=362388, 359386 LOG= R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22963

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -2 lines) Patch
M include/v8.h View 1 2 chunks +4 lines, -1 line 3 comments Download
M src/api.cc View 2 chunks +12 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
yhirano
6 years, 4 months ago (2014-08-06 05:46:44 UTC) #1
haraken
This looks nice and simplifies the TryCatch logic in the binding layer (c.f., binding side ...
6 years, 4 months ago (2014-08-06 05:54:08 UTC) #2
aandrey
https://codereview.chromium.org/443853002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/443853002/diff/1/include/v8.h#newcode5124 include/v8.h:5124: void Reset(); should we also update the docs for ...
6 years, 4 months ago (2014-08-06 06:31:09 UTC) #3
yhirano
https://codereview.chromium.org/443853002/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/443853002/diff/1/include/v8.h#newcode5124 include/v8.h:5124: void Reset(); On 2014/08/06 06:31:08, aandrey wrote: > should ...
6 years, 4 months ago (2014-08-06 09:00:04 UTC) #4
yhirano
6 years, 4 months ago (2014-08-06 09:00:05 UTC) #5
yhirano
Correct reviewer (mstarzinger => mstarzinger@chromium.org)
6 years, 4 months ago (2014-08-07 01:18:41 UTC) #6
yhirano
Correct reviewer (chromium.com => chromium.org)
6 years, 4 months ago (2014-08-07 01:19:33 UTC) #7
Michael Starzinger
LGTM. I'll land this for you. https://codereview.chromium.org/443853002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/443853002/diff/20001/include/v8.h#newcode5167 include/v8.h:5167: void ResetInternal(); nit: ...
6 years, 4 months ago (2014-08-07 08:40:36 UTC) #8
yhirano
Thank you! https://codereview.chromium.org/443853002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/443853002/diff/20001/include/v8.h#newcode5167 include/v8.h:5167: void ResetInternal(); On 2014/08/07 08:40:36, Michael Starzinger ...
6 years, 4 months ago (2014-08-07 08:50:54 UTC) #9
Michael Starzinger
https://codereview.chromium.org/443853002/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/443853002/diff/20001/include/v8.h#newcode5167 include/v8.h:5167: void ResetInternal(); On 2014/08/07 08:50:54, yhirano wrote: > On ...
6 years, 4 months ago (2014-08-07 08:53:53 UTC) #10
Michael Starzinger
6 years, 4 months ago (2014-08-07 08:56:13 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 manually as 22963 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698