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

Issue 630373003: Add stack trace to the promise reject callback. (Closed)

Created:
6 years, 2 months ago by Yang
Modified:
6 years, 2 months ago
Reviewers:
aandrey
CC:
v8-dev, Paweł Hajdan Jr.
Project:
v8
Visibility:
Public.

Description

Add stack trace to the promise reject callback. R=aandrey@chromium.org BUG=chromium:393913 LOG=N Committed: https://code.google.com/p/v8/source/detail?r=24432

Patch Set 1 #

Total comments: 3

Patch Set 2 : addressed comments. changed API to be easily extensible. #

Total comments: 2

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -16 lines) Patch
M include/v8.h View 1 2 1 chunk +22 lines, -3 lines 0 comments Download
M src/isolate.cc View 1 1 chunk +10 lines, -2 lines 0 comments Download
M test/cctest/test-api.cc View 1 6 chunks +105 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yang
6 years, 2 months ago (2014-10-07 10:26:39 UTC) #1
aandrey
https://codereview.chromium.org/630373003/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/630373003/diff/1/include/v8.h#newcode4218 include/v8.h:4218: PromiseRejectEvent event, I think we'd better extract these to ...
6 years, 2 months ago (2014-10-07 10:32:07 UTC) #2
aandrey
https://codereview.chromium.org/630373003/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/630373003/diff/1/src/isolate.cc#newcode2277 src/isolate.cc:2277: capture_stack_trace_for_uncaught_exceptions_ && value->IsJSObject()) { I think we can drop ...
6 years, 2 months ago (2014-10-07 10:49:06 UTC) #3
Yang
On 2014/10/07 10:49:06, aandrey wrote: > https://codereview.chromium.org/630373003/diff/1/src/isolate.cc > File src/isolate.cc (right): > > https://codereview.chromium.org/630373003/diff/1/src/isolate.cc#newcode2277 > ...
6 years, 2 months ago (2014-10-07 10:59:43 UTC) #4
aandrey
lgtm https://codereview.chromium.org/630373003/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/630373003/diff/20001/include/v8.h#newcode4226 include/v8.h:4226: Handle<Promise> GetPromise() { return promise_; } const methods
6 years, 2 months ago (2014-10-07 11:06:09 UTC) #5
aandrey
https://codereview.chromium.org/630373003/diff/20001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/630373003/diff/20001/include/v8.h#newcode4227 include/v8.h:4227: PromiseRejectEvent GetEvent() { return event_; } also use V8_INLINE?
6 years, 2 months ago (2014-10-07 11:09:21 UTC) #6
Yang
6 years, 2 months ago (2014-10-07 12:04:04 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 24432 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698