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

Issue 273653007: Read internal properties [[PromiseStatus]] and [[PromiseValue]] of the promise. (Closed)

Created:
6 years, 7 months ago by Alexandra Mikhaylova
Modified:
6 years, 7 months ago
Reviewers:
aandrey, yurys, Yang
CC:
v8-dev
Visibility:
Public.

Description

Read internal properties [[PromiseStatus]] and [[PromiseValue]] of the promise. BUG=v8:3093 LOG=N R=aandrey@chromium.org, yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21266

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Total comments: 3

Patch Set 3 : Fix the test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M src/mirror-debugger.js View 1 2 chunks +10 lines, -1 line 1 comment Download
M test/mjsunit/es6/mirror-promises.js View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Alexandra Mikhaylova
6 years, 7 months ago (2014-05-08 14:49:31 UTC) #1
Yang
On 2014/05/08 14:49:31, Alexandra Mikhaylova wrote: Why is this necessary, when we already have PromiseMirror.prototype.status ...
6 years, 7 months ago (2014-05-08 14:56:33 UTC) #2
Yang
https://codereview.chromium.org/273653007/diff/1/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/273653007/diff/1/src/mirror-debugger.js#newcode838 src/mirror-debugger.js:838: result.push(new InternalPropertyMirror("[[Value]]", builtins.GetPromiseValue(value))); please honor the 80-char limit.
6 years, 7 months ago (2014-05-08 14:57:51 UTC) #3
aandrey
https://codereview.chromium.org/273653007/diff/1/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/273653007/diff/1/src/mirror-debugger.js#newcode828 src/mirror-debugger.js:828: var promiseStatus = builtins.GetPromiseStatus(value); code dup. lets make a ...
6 years, 7 months ago (2014-05-08 15:05:16 UTC) #4
aandrey
On 2014/05/08 14:56:33, Yang wrote: > On 2014/05/08 14:49:31, Alexandra Mikhaylova wrote: > > Why ...
6 years, 7 months ago (2014-05-08 15:11:09 UTC) #5
Alexandra Mikhaylova
https://codereview.chromium.org/273653007/diff/1/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/273653007/diff/1/src/mirror-debugger.js#newcode828 src/mirror-debugger.js:828: var promiseStatus = builtins.GetPromiseStatus(value); On 2014/05/08 15:05:16, aandrey wrote: ...
6 years, 7 months ago (2014-05-08 15:20:58 UTC) #6
aandrey
lgtm https://codereview.chromium.org/273653007/diff/20001/test/mjsunit/es6/mirror-promises.js File test/mjsunit/es6/mirror-promises.js (right): https://codereview.chromium.org/273653007/diff/20001/test/mjsunit/es6/mirror-promises.js#newcode72 test/mjsunit/es6/mirror-promises.js:72: var m1 = debug.MakeMirror(new Promise( Promise.resolve(1) https://codereview.chromium.org/273653007/diff/20001/test/mjsunit/es6/mirror-promises.js#newcode76 test/mjsunit/es6/mirror-promises.js:76: ...
6 years, 7 months ago (2014-05-08 15:27:04 UTC) #7
Yang
On 2014/05/08 15:27:04, aandrey wrote: > lgtm > > https://codereview.chromium.org/273653007/diff/20001/test/mjsunit/es6/mirror-promises.js > File test/mjsunit/es6/mirror-promises.js (right): > ...
6 years, 7 months ago (2014-05-09 13:02:50 UTC) #8
aandrey
On 2014/05/09 13:02:50, Yang wrote: > On 2014/05/08 15:27:04, aandrey wrote: > > lgtm > ...
6 years, 7 months ago (2014-05-09 13:39:57 UTC) #9
Yang
LGTM. I'll address the comment myself and land this. https://codereview.chromium.org/273653007/diff/40001/src/mirror-debugger.js File src/mirror-debugger.js (right): https://codereview.chromium.org/273653007/diff/40001/src/mirror-debugger.js#newcode827 src/mirror-debugger.js:827: ...
6 years, 7 months ago (2014-05-12 12:31:41 UTC) #10
Yang
Committed patchset #3 manually as r21266 (presubmit successful).
6 years, 7 months ago (2014-05-12 12:42:41 UTC) #11
Yang
6 years, 7 months ago (2014-05-12 13:38:07 UTC) #12
Message was sent while issue was closed.
On 2014/05/12 12:42:41, Yang wrote:
> Committed patchset #3 manually as r21266 (presubmit successful).

I have to revert this because webkit layout test
"inspector/console/console-dir-global.html" fails due to this. We can try again
once you have set its expectation to requiring manual rebaseline.

Powered by Google App Engine
This is Rietveld 408576698