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

Issue 2784213002: Add V8 extra utils for promise state (Closed)

Created:
3 years, 8 months ago by domenic
Modified:
3 years, 8 months ago
Reviewers:
Dan Ehrenberg, gsathya
CC:
v8-reviews_googlegroups.com, Adam Rice
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Add V8 extra utils for promise state This will allow V8 extra consumers to track promise state without using a side-table. This is used by streams as of https://github.com/whatwg/streams/commit/173f9f67be56f6690f82ec26fe86c8e67256616b. BUG=chromium:658144 Review-Url: https://codereview.chromium.org/2784213002 Cr-Commit-Position: refs/heads/master@{#44287} Committed: https://chromium.googlesource.com/v8/v8/+/a6e635d6929c77e10c45ae069b15003b3f1cf73a

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
M src/js/prologue.js View 1 chunk +10 lines, -0 lines 1 comment Download
M test/cctest/test-api.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M test/cctest/test-extra.js View 1 chunk +19 lines, -1 line 0 comments Download

Messages

Total messages: 15 (4 generated)
domenic
3 years, 8 months ago (2017-03-30 05:55:31 UTC) #2
Dan Ehrenberg
Seems well-motivated to me. We expose the same information via the V8 C++ API. Unfortunate ...
3 years, 8 months ago (2017-03-30 10:20:58 UTC) #3
domenic
On 2017/03/30 at 10:20:58, littledan wrote: > Seems well-motivated to me. We expose the same ...
3 years, 8 months ago (2017-03-30 10:25:58 UTC) #4
Dan Ehrenberg
Well, if this API may be used by Node, if it starts using V8 extras, ...
3 years, 8 months ago (2017-03-30 10:31:23 UTC) #5
domenic
On 2017/03/30 at 10:31:23, littledan wrote: > Well, if this API may be used by ...
3 years, 8 months ago (2017-03-30 11:18:03 UTC) #6
Dan Ehrenberg
On 2017/03/30 11:18:03, domenic wrote: > On 2017/03/30 at 10:31:23, littledan wrote: > > Well, ...
3 years, 8 months ago (2017-03-30 12:04:14 UTC) #7
Dan Ehrenberg
https://codereview.chromium.org/2784213002/diff/1/src/js/prologue.js File src/js/prologue.js (right): https://codereview.chromium.org/2784213002/diff/1/src/js/prologue.js#newcode222 src/js/prologue.js:222: return %PromiseStatus(promise); Is it OK for V8 extras to ...
3 years, 8 months ago (2017-03-30 12:05:54 UTC) #8
domenic
On 2017/03/30 at 12:05:54, littledan wrote: > https://codereview.chromium.org/2784213002/diff/1/src/js/prologue.js > File src/js/prologue.js (right): > > https://codereview.chromium.org/2784213002/diff/1/src/js/prologue.js#newcode222 ...
3 years, 8 months ago (2017-03-31 01:04:13 UTC) #9
gsathya
lgtm
3 years, 8 months ago (2017-03-31 02:27:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2784213002/1
3 years, 8 months ago (2017-03-31 05:11:27 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 05:58:23 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/a6e635d6929c77e10c45ae069b15003b3f1...

Powered by Google App Engine
This is Rietveld 408576698