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

Issue 18119008: Implement PromiseResolver.prototype.resolve. (Closed)

Created:
7 years, 5 months ago by yhirano
Modified:
7 years, 5 months ago
CC:
blink-reviews, Nils Barth (inactive), jsbell+bindings_chromium.org, eae+blinkwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, haraken, Nate Chapin, do-not-use
Base URL:
https://chromium.googlesource.com/chromium/blink.git@promises-cpp-fulfill-reject
Visibility:
Public.

Description

Implement PromiseResolver.prototype.resolve. We are implementing DOM/Promises. This CL implements PromiseResolver.prototype.resolve. Again, all methods are marked as Custom and there are many boilerplate. we will fix them in a future CL. There are no tests. We will add tests in a future. R=abarth, haraken BUG=243345 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153215

Patch Set 1 #

Patch Set 2 : #

Total comments: 15

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -14 lines) Patch
M Source/bindings/v8/custom/V8PromiseCustom.h View 2 chunks +9 lines, -0 lines 0 comments Download
M Source/bindings/v8/custom/V8PromiseCustom.cpp View 1 2 3 8 chunks +140 lines, -12 lines 0 comments Download
M Source/bindings/v8/custom/V8PromiseResolverCustom.cpp View 1 chunk +35 lines, -2 lines 0 comments Download
M Source/core/dom/PromiseResolver.idl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
yhirano
This CL is based on https://codereview.chromium.org/17993004/ which is landing.
7 years, 5 months ago (2013-06-28 01:50:11 UTC) #1
haraken
https://codereview.chromium.org/18119008/diff/3001/Source/bindings/v8/custom/V8PromiseCustom.cpp File Source/bindings/v8/custom/V8PromiseCustom.cpp (right): https://codereview.chromium.org/18119008/diff/3001/Source/bindings/v8/custom/V8PromiseCustom.cpp#newcode68 Source/bindings/v8/custom/V8PromiseCustom.cpp:68: v8::HandleScope handleScope(isolate); Do you need this? The fact that ...
7 years, 5 months ago (2013-06-28 03:33:23 UTC) #2
yhirano
https://codereview.chromium.org/18119008/diff/3001/Source/bindings/v8/custom/V8PromiseCustom.cpp File Source/bindings/v8/custom/V8PromiseCustom.cpp (right): https://codereview.chromium.org/18119008/diff/3001/Source/bindings/v8/custom/V8PromiseCustom.cpp#newcode68 Source/bindings/v8/custom/V8PromiseCustom.cpp:68: v8::HandleScope handleScope(isolate); On 2013/06/28 03:33:23, haraken wrote: > > ...
7 years, 5 months ago (2013-06-28 04:14:51 UTC) #3
haraken
LGTM from the aspect of binding implementation. I'm not familiar with Promise, so please wait ...
7 years, 5 months ago (2013-06-28 04:17:34 UTC) #4
abarth-chromium
lgtm https://codereview.chromium.org/18119008/diff/7001/Source/bindings/v8/custom/V8PromiseCustom.cpp File Source/bindings/v8/custom/V8PromiseCustom.cpp (right): https://codereview.chromium.org/18119008/diff/7001/Source/bindings/v8/custom/V8PromiseCustom.cpp#newcode58 Source/bindings/v8/custom/V8PromiseCustom.cpp:58: // tag must be a pointer of one ...
7 years, 5 months ago (2013-06-28 04:35:52 UTC) #5
yhirano
https://codereview.chromium.org/18119008/diff/7001/Source/bindings/v8/custom/V8PromiseCustom.cpp File Source/bindings/v8/custom/V8PromiseCustom.cpp (right): https://codereview.chromium.org/18119008/diff/7001/Source/bindings/v8/custom/V8PromiseCustom.cpp#newcode58 Source/bindings/v8/custom/V8PromiseCustom.cpp:58: // tag must be a pointer of one of ...
7 years, 5 months ago (2013-06-28 04:51:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/18119008/15001
7 years, 5 months ago (2013-06-28 05:51:06 UTC) #7
commit-bot: I haz the power
7 years, 5 months ago (2013-06-28 07:21:38 UTC) #8
Message was sent while issue was closed.
Change committed as 153215

Powered by Google App Engine
This is Rietveld 408576698