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

Issue 2498143002: Add markPromiseAsHandled V8 extra util (Closed)

Created:
4 years, 1 month ago by domenic
Modified:
4 years, 1 month ago
Reviewers:
Dan Ehrenberg, gsathya
CC:
Adam Rice, tyoshino (SeeGerritForStatus), v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add markPromiseAsHandled V8 extra util This will allow V8 extra consumers to mark a promise as handled without adding redundant empty onRejected handlers. This is needed by streams as discussed in https://github.com/whatwg/streams/issues/547. BUG=chromium:654701 Committed: https://crrev.com/2f060955e881aad0e6d5124c533403d3b172bb3b Cr-Commit-Position: refs/heads/master@{#41012}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M src/js/promise.js View 2 chunks +6 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M test/cctest/test-extra.js View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
domenic
4 years, 1 month ago (2016-11-14 23:11:02 UTC) #2
gsathya
lgtm +littledan for OWNERS
4 years, 1 month ago (2016-11-14 23:21:23 UTC) #4
Dan Ehrenberg
lgtm Are there unit tests for things exposed to v8-extras? https://codereview.chromium.org/2498143002/diff/1/src/js/promise.js File src/js/promise.js (right): https://codereview.chromium.org/2498143002/diff/1/src/js/promise.js#newcode592 ...
4 years, 1 month ago (2016-11-15 10:34:39 UTC) #9
Dan Ehrenberg
https://codereview.chromium.org/2498143002/diff/1/src/js/promise.js File src/js/promise.js (right): https://codereview.chromium.org/2498143002/diff/1/src/js/promise.js#newcode640 src/js/promise.js:640: "markPromiseAsHandled", MarkPromiseAsHandled Maybe add a trailing comma here so ...
4 years, 1 month ago (2016-11-15 10:35:14 UTC) #10
gsathya
On 2016/11/15 10:34:39, Dan Ehrenberg wrote: > lgtm > > Are there unit tests for ...
4 years, 1 month ago (2016-11-15 10:39:08 UTC) #11
domenic
On 2016/11/15 at 10:34:39, littledan wrote: > lgtm > > Are there unit tests for ...
4 years, 1 month ago (2016-11-15 16:38:05 UTC) #12
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/2498143002/20001
4 years, 1 month ago (2016-11-15 20:59:38 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 21:25:06 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:35:10 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2f060955e881aad0e6d5124c533403d3b172bb3b
Cr-Commit-Position: refs/heads/master@{#41012}

Powered by Google App Engine
This is Rietveld 408576698