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

Issue 209853010: [ABANDONED] Enable V8 Promises (Closed)

Created:
6 years, 9 months ago by yhirano
Modified:
6 years, 8 months ago
CC:
blink-reviews, Kunihiko Sakamoto
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Enable V8 Promises Enable V8 Promises. This CL sets --harmony-promises flag. When V8 Promises are shipped, I will remove it. BUG=352597, 352552 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170300

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Skip ScriptPromise::cast tests #

Patch Set 6 : #

Patch Set 7 : Fixing layout tests #

Patch Set 8 : Fixing layout tests #

Patch Set 9 : #

Total comments: 3

Patch Set 10 : rebase #

Patch Set 11 : rebase #

Patch Set 12 : Merge Rafael's CL (crrev.com/167683003) #

Patch Set 13 : FYI, crashes fast/workers tests #

Patch Set 14 : rebase #

Patch Set 15 : Revert crypto/resources/common.j #

Patch Set 16 : done? #

Total comments: 4

Patch Set 17 : Remove Rafael's CL and worker related changes. #

Patch Set 18 : #

Patch Set 19 : rebase #

Patch Set 20 : #

Patch Set 21 : Run microtasks in ScriptPromiseResolverWithContext. #

Patch Set 22 : #

Patch Set 23 : #

Patch Set 24 : #

Total comments: 3

Patch Set 25 : Call RunMicrotasks rather than calling an empty function. #

Total comments: 2

Patch Set 26 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -26 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/canvas/canvas-createImageBitmap-immutable.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/js/Promise-native-then-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/webfont/fontfaceset-status-attribute.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/http/tests/webfont/fontfaceset-status-attribute-expected.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/push_messaging/push-messaging.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/push_messaging/push-messaging-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/stable/webexposed/global-constructors-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/stable/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/stable/webexposed/global-constructors-listing-shared-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-shared-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/v8/ScriptPromiseResolverWithContext.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +26 lines, -15 lines 0 comments Download
M Source/bindings/v8/ScriptPromiseResolverWithContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +17 lines, -4 lines 0 comments Download
M Source/bindings/v8/ScriptPromiseTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +5 lines, -0 lines 0 comments Download
M Source/bindings/v8/V8Initializer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (0 generated)
yhirano
As in the description, this CL changes the behavior of ScriptPromise and ScriptPromiseResolver.
6 years, 9 months ago (2014-03-25 12:23:28 UTC) #1
yhirano
ksakamoto, fast/css/fontface-methods.html fails because of this change. Are you OK with it?
6 years, 9 months ago (2014-03-25 12:24:40 UTC) #2
jochen (gone - plz use gerrit)
As discussed offline, I don't see a way around the micro task issue with the ...
6 years, 9 months ago (2014-03-25 12:28:05 UTC) #3
yhirano
+rafaelw Remove RunMicrotasks. https://src.chromium.org/viewvc/blink?revision=169978&view=revision runs microtasks properly.
6 years, 9 months ago (2014-03-26 01:03:42 UTC) #4
yhirano
+aandley (inspector), ksakamoto (font loading), junov (imagebitmap), eroman (crypto) Hi, I am switching the Promises ...
6 years, 9 months ago (2014-03-26 06:47:16 UTC) #5
Kunihiko Sakamoto
lgtm for LayoutTests/http/tests/webfont/ Thanks for taking care of the test!
6 years, 9 months ago (2014-03-26 06:53:57 UTC) #6
aandrey
lgtm on skipping the debugger/async-callstack-promises.html test
6 years, 9 months ago (2014-03-26 08:30:40 UTC) #7
eroman
lgtm for crypto tests https://codereview.chromium.org/209853010/diff/380003/LayoutTests/crypto/resources/common.js File LayoutTests/crypto/resources/common.js (right): https://codereview.chromium.org/209853010/diff/380003/LayoutTests/crypto/resources/common.js#newcode144 LayoutTests/crypto/resources/common.js:144: var promise = eval(code); In ...
6 years, 9 months ago (2014-03-26 09:07:58 UTC) #8
Justin Novosad
lgtm for canvas test
6 years, 9 months ago (2014-03-27 15:23:44 UTC) #9
rafaelw1
Note that the v8 microtask patch got reverted last night, so this may need to ...
6 years, 9 months ago (2014-03-27 15:24:54 UTC) #10
yhirano
fast/canvas and fast/workers pass locally with PS16. This PS includes Rafael's CL. Waiting for the ...
6 years, 9 months ago (2014-03-28 07:29:12 UTC) #11
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 9 months ago (2014-03-28 09:09:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/209853010/710001
6 years, 9 months ago (2014-03-28 09:09:44 UTC) #13
commit-bot: I haz the power
Change committed as 170300
6 years, 9 months ago (2014-03-28 09:10:14 UTC) #14
adamk
This patch looks wrong to me (and it bothers me a bit that it landed ...
6 years, 9 months ago (2014-03-28 17:55:05 UTC) #15
adamk
Regarding lack of review, I now see that jochen said "ship it" on https://code.google.com/p/chromium/issues/detail?id=352552#c31, but ...
6 years, 9 months ago (2014-03-28 17:58:06 UTC) #16
jochen (gone - plz use gerrit)
On 2014/03/28 17:58:06, adamk wrote: > Regarding lack of review, I now see that jochen ...
6 years, 9 months ago (2014-03-28 19:04:20 UTC) #17
adamk
This has been reverted in http://src.chromium.org/viewvc/blink?view=revision&revision=170358
6 years, 9 months ago (2014-03-28 20:25:13 UTC) #18
rafaelw
Note that the blink usage of the v8 microtask queue has been relanded in https://codereview.chromium.org/217073004/ ...
6 years, 8 months ago (2014-03-29 01:21:53 UTC) #19
yhirano
Reopen. I'm sorry for the confusion. Removed Rafael's CL and worker related changes. It doesn't ...
6 years, 8 months ago (2014-03-31 02:10:24 UTC) #20
jochen (gone - plz use gerrit)
Does this work meanwhile? What's missing?
6 years, 8 months ago (2014-04-07 12:57:30 UTC) #21
yhirano
Adam and I are discussing at https://codereview.chromium.org/219003002/
6 years, 8 months ago (2014-04-07 13:02:39 UTC) #22
yhirano
Adam and I are discussing at https://codereview.chromium.org/219003002/
6 years, 8 months ago (2014-04-07 13:02:40 UTC) #23
yhirano
I've updated the CL. Given that Microtask::performCheckPoint does no longer execute V8 tasks, I propose ...
6 years, 8 months ago (2014-04-15 08:45:05 UTC) #24
yhirano
https://codereview.chromium.org/209853010/diff/860001/Source/bindings/v8/ScriptPromiseResolverWithContext.cpp File Source/bindings/v8/ScriptPromiseResolverWithContext.cpp (right): https://codereview.chromium.org/209853010/diff/860001/Source/bindings/v8/ScriptPromiseResolverWithContext.cpp#newcode67 Source/bindings/v8/ScriptPromiseResolverWithContext.cpp:67: getNoopFunction(isolate)->Call(v8::Undefined(isolate), 0, args); On 2014/04/15 08:45:06, yhirano wrote: > ...
6 years, 8 months ago (2014-04-15 10:33:39 UTC) #25
adamk
With respect to the v8::V8::RunMicrotasks, this now seems acceptable to me (at least in the ...
6 years, 8 months ago (2014-04-15 20:46:17 UTC) #26
yhirano
https://codereview.chromium.org/209853010/diff/880001/LayoutTests/virtual/stable/webexposed/global-constructors-listing-dedicated-worker-expected.txt File LayoutTests/virtual/stable/webexposed/global-constructors-listing-dedicated-worker-expected.txt (right): https://codereview.chromium.org/209853010/diff/880001/LayoutTests/virtual/stable/webexposed/global-constructors-listing-dedicated-worker-expected.txt#newcode57 LayoutTests/virtual/stable/webexposed/global-constructors-listing-dedicated-worker-expected.txt:57: [Worker] WeakMap On 2014/04/15 20:46:18, adamk wrote: > These ...
6 years, 8 months ago (2014-04-16 01:45:20 UTC) #27
yhirano
6 years, 8 months ago (2014-04-22 07:49:37 UTC) #28
Message was sent while issue was closed.
The new CL is https://codereview.chromium.org/243703007/ .

Powered by Google App Engine
This is Rietveld 408576698