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

Issue 180723011: PromiseThen should ignore non-function parameters. (Closed)

Created:
6 years, 9 months ago by yhirano
Modified:
6 years, 7 months ago
Reviewers:
rossberg
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

PromiseThen should ignore non-function parameters. When non-function parameters are given, PromiseThen should work as if undefined parameters were given. BUG=347455 LOG=Y R=rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21025

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -4 lines) Patch
M src/promise.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M test/mjsunit/es6/promises.js View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M test/promises-aplus/promises-aplus.status View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
yhirano
https://codereview.chromium.org/182713002/ includes the test for this issue.
6 years, 9 months ago (2014-02-27 07:43:33 UTC) #1
rossberg
Hm, I actually think this is a mistake. I filed a bug against the spec: ...
6 years, 9 months ago (2014-02-27 08:42:57 UTC) #2
rossberg
Hi Yutaka, seems like the committee flipped its decision back to the original semantics due ...
6 years, 7 months ago (2014-04-28 08:32:51 UTC) #3
yhirano
https://codereview.chromium.org/180723011/diff/60001/src/promise.js File src/promise.js (right): https://codereview.chromium.org/180723011/diff/60001/src/promise.js#newcode152 src/promise.js:152: typeof onResolve === 'function' ? onResolve : PromiseIdResolveHandler; On ...
6 years, 7 months ago (2014-04-28 12:35:40 UTC) #4
rossberg
LGTM. Thanks!
6 years, 7 months ago (2014-04-28 12:37:41 UTC) #5
rossberg
6 years, 7 months ago (2014-04-28 15:19:27 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r21025 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698