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

Issue 1488783002: Clean up promises and fix an edge case bug (Closed)

Created:
5 years ago by Dan Ehrenberg
Modified:
5 years ago
Reviewers:
caitp (gmail), 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

Clean up promises and fix an edge case bug This patch builds on previous Promise spec compliance work by cleaning out some old code which existed to support Promise.prototype.chain, rephrasing some code to correspond more closely to the specification, and removing some incorrect brand checking. A test is added for a bug in an edge case which was fixed. R=rossberg BUG=v8:3641 LOG=Y Committed: https://crrev.com/1deb89c8fd3cb69714ae0a24e3b5a4e78f6b73b4 Cr-Commit-Position: refs/heads/master@{#32627}

Patch Set 1 #

Patch Set 2 : some more changes, and a test #

Patch Set 3 : Fixes and tests #

Patch Set 4 : Minor code cleanup; disable some soon-to-be-obsolete mjsunit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -119 lines) Patch
M src/js/promise.js View 1 2 3 7 chunks +41 lines, -89 lines 0 comments Download
M test/mjsunit/es6/promises.js View 1 2 15 chunks +25 lines, -30 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-3641.js View 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (8 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/1488783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488783002/40001
5 years ago (2015-12-01 17:34:31 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/10857)
5 years ago (2015-12-01 17:46:12 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488783002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488783002/60001
5 years ago (2015-12-01 23:35:31 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-02 00:24:47 UTC) #8
Dan Ehrenberg
5 years ago (2015-12-02 16:01:50 UTC) #10
rossberg
lgtm
5 years ago (2015-12-04 13:53:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488783002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488783002/60001
5 years ago (2015-12-04 18:25:57 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-04 18:55:16 UTC) #15
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/1deb89c8fd3cb69714ae0a24e3b5a4e78f6b73b4 Cr-Commit-Position: refs/heads/master@{#32627}
5 years ago (2015-12-04 18:56:26 UTC) #17
Michael Achenbach
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1501763004/ by machenbach@chromium.org. ...
5 years ago (2015-12-05 08:50:53 UTC) #18
Dan Ehrenberg
On 2015/12/05 at 08:50:53, machenbach wrote: > A revert of this CL (patchset #4 id:60001) ...
5 years ago (2015-12-08 01:31:49 UTC) #19
adamk
5 years ago (2015-12-08 16:42:05 UTC) #20
Message was sent while issue was closed.
On 2015/12/08 01:31:49, Dan Ehrenberg wrote:
> On 2015/12/05 at 08:50:53, machenbach wrote:
> > A revert of this CL (patchset #4 id:60001) has been created in
> https://codereview.chromium.org/1501763004/ by mailto:machenbach@chromium.org.
> > 
> > The reason for reverting is: [Sheriff] Breaks layout tests:
> >
>
https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/bui...
> > 
> > Please request rebase upstream first..
> 
> Are you sure that this patch was responsible for the breakage? I tried
> re-landing my patch and running some of these layout tests that failed, and
all
> of them passed.

These three tests all sound pretty related:

inspector/sources/debugger-step/debugger-step-into-async2.html
inspector/sources/debugger/promise-events.html
inspector/sources/debugger-async/async-callstack-promises.html

Are those the ones you ran? It looks like they might actually be failing, too,
though it's hard to tell from the output without reading the tests:
https://storage.googleapis.com/chromium-layout-test-archives/V8-Blink_Linux_6...

Powered by Google App Engine
This is Rietveld 408576698