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

Issue 393283007: Introduce more debug events for promises. (Closed)

Created:
6 years, 5 months ago by Alexandra Mikhaylova
Modified:
6 years, 5 months ago
Reviewers:
aandrey, Yang, rossberg
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Introduce more debug events for promises. BUG=v8:3093 LOG=Y R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22591

Patch Set 1 #

Patch Set 2 : Revert blank line #

Patch Set 3 : Add UpdatePromiseParentEvent + test #

Patch Set 4 : Fix calling promise parent event #

Total comments: 10

Patch Set 5 : Address comments #

Total comments: 4

Patch Set 6 : Address comments + REBASE #

Total comments: 8

Patch Set 7 : Address comments #

Patch Set 8 : Check result length in the test as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -4 lines) Patch
M src/debug-debugger.js View 1 2 3 4 5 6 2 chunks +41 lines, -1 line 0 comments Download
M src/promise.js View 1 2 3 4 5 6 3 chunks +12 lines, -1 line 0 comments Download
M test/mjsunit/es6/debug-promises-new-event.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/es6/debug-promises-update-parent-event.js View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
A test/mjsunit/es6/debug-promises-update-status-event.js View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
M tools/generate-runtime-tests.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Alexandra Mikhaylova
WIP
6 years, 5 months ago (2014-07-17 16:31:09 UTC) #1
Alexandra Mikhaylova
6 years, 5 months ago (2014-07-18 11:47:41 UTC) #2
aandrey
https://codereview.chromium.org/393283007/diff/50001/src/promise.js File src/promise.js (right): https://codereview.chromium.org/393283007/diff/50001/src/promise.js#newcode41 src/promise.js:41: var promise = PromiseInit(this); this will fire "update" event ...
6 years, 5 months ago (2014-07-18 12:10:44 UTC) #3
Alexandra Mikhaylova
https://codereview.chromium.org/393283007/diff/50001/src/promise.js File src/promise.js (right): https://codereview.chromium.org/393283007/diff/50001/src/promise.js#newcode41 src/promise.js:41: var promise = PromiseInit(this); On 2014/07/18 12:10:44, aandrey wrote: ...
6 years, 5 months ago (2014-07-22 10:45:36 UTC) #4
aandrey
https://codereview.chromium.org/393283007/diff/70001/src/promise.js File src/promise.js (right): https://codereview.chromium.org/393283007/diff/70001/src/promise.js#newcode226 src/promise.js:226: %DebugPromiseEvent({ type: "update", now 3 update event calls instead ...
6 years, 5 months ago (2014-07-22 11:58:49 UTC) #5
Alexandra Mikhaylova
https://codereview.chromium.org/393283007/diff/70001/src/promise.js File src/promise.js (right): https://codereview.chromium.org/393283007/diff/70001/src/promise.js#newcode226 src/promise.js:226: %DebugPromiseEvent({ type: "update", On 2014/07/22 11:58:49, aandrey wrote: > ...
6 years, 5 months ago (2014-07-22 12:47:22 UTC) #6
aandrey
looks good, deferring to @yangguo and @rossberg
6 years, 5 months ago (2014-07-22 12:54:06 UTC) #7
Yang
LGTM with comments. https://codereview.chromium.org/393283007/diff/90001/src/debug-debugger.js File src/debug-debugger.js (right): https://codereview.chromium.org/393283007/diff/90001/src/debug-debugger.js#newcode1211 src/debug-debugger.js:1211: event = new UpdatePromiseParentEvent(event_data); unless you ...
6 years, 5 months ago (2014-07-24 08:43:58 UTC) #8
Alexandra Mikhaylova
https://codereview.chromium.org/393283007/diff/90001/src/debug-debugger.js File src/debug-debugger.js (right): https://codereview.chromium.org/393283007/diff/90001/src/debug-debugger.js#newcode1211 src/debug-debugger.js:1211: event = new UpdatePromiseParentEvent(event_data); On 2014/07/24 08:43:58, Yang wrote: ...
6 years, 5 months ago (2014-07-24 09:18:37 UTC) #9
Alexandra Mikhaylova
On 2014/07/24 09:18:37, Alexandra Mikhaylova wrote: > https://codereview.chromium.org/393283007/diff/90001/src/debug-debugger.js > File src/debug-debugger.js (right): > > https://codereview.chromium.org/393283007/diff/90001/src/debug-debugger.js#newcode1211 ...
6 years, 5 months ago (2014-07-24 10:27:29 UTC) #10
Yang
On 2014/07/24 10:27:29, Alexandra Mikhaylova wrote: > On 2014/07/24 09:18:37, Alexandra Mikhaylova wrote: > > ...
6 years, 5 months ago (2014-07-24 10:30:03 UTC) #11
Yang
6 years, 5 months ago (2014-07-24 10:43:49 UTC) #12
Message was sent while issue was closed.
Committed patchset #8 manually as r22591 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698