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

Issue 1780823003: Check that Promise subclasses have callable resolve/reject (Closed)

Created:
4 years, 9 months ago by Dan Ehrenberg
Modified:
4 years, 9 months ago
Reviewers:
adamk, rossberg
CC:
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

Check that Promise subclasses have callable resolve/reject This check is guaranteed by the Promise spec and tested by test262 tests. It only has to run for subclasses. This patch adds the check to the Promise code. BUG=v8:4633 R=adamk LOG=Y Committed: https://crrev.com/d9c45337a49f01ff3beadba860307e740ced7480 Cr-Commit-Position: refs/heads/master@{#34693}

Patch Set 1 #

Patch Set 2 : Fix debug tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -74 lines) Patch
M src/js/promise.js View 2 chunks +3 lines, -2 lines 0 comments Download
M src/messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js View 1 3 chunks +2 lines, -66 lines 2 comments Download
M test/test262/test262.status View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780823003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780823003/1
4 years, 9 months ago (2016-03-10 01:17:22 UTC) #2
Dan Ehrenberg
4 years, 9 months ago (2016-03-10 01:26:41 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/11364)
4 years, 9 months ago (2016-03-10 01:31:12 UTC) #5
adamk
Patch lgtm, but looks like we might have tests that have different behavior.
4 years, 9 months ago (2016-03-10 01:39:48 UTC) #6
Dan Ehrenberg
On 2016/03/10 at 01:39:48, adamk wrote: > Patch lgtm, but looks like we might have ...
4 years, 9 months ago (2016-03-10 02:37:47 UTC) #7
adamk
If it passes test262 and everything else, probably looks good, but I'd want to make ...
4 years, 9 months ago (2016-03-10 02:53:06 UTC) #9
Dan Ehrenberg
https://codereview.chromium.org/1780823003/diff/20001/test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js File test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js (left): https://codereview.chromium.org/1780823003/diff/20001/test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js#oldcode7 test/mjsunit/es6/debug-promises/throw-with-undefined-reject.js:7: // Test debug events when an exception is thrown ...
4 years, 9 months ago (2016-03-10 20:00:42 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780823003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780823003/20001
4 years, 9 months ago (2016-03-10 20:01:28 UTC) #12
adamk
lgtm
4 years, 9 months ago (2016-03-10 20:02:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780823003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780823003/20001
4 years, 9 months ago (2016-03-10 20:07:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780823003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780823003/20001
4 years, 9 months ago (2016-03-10 23:17:20 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-10 23:20:47 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 23:22:40 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d9c45337a49f01ff3beadba860307e740ced7480
Cr-Commit-Position: refs/heads/master@{#34693}

Powered by Google App Engine
This is Rietveld 408576698