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

Issue 1743763004: Use v8::MicrotasksScope internally in V8RecursionScope. (Closed)

Created:
4 years, 10 months ago by dgozman
Modified:
4 years, 9 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@v8rs-2-endofscope
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use v8::MicrotasksScope internally in V8RecursionScope. If this sticks we can just remove V8RecursionScope and WebScopedMicrotaskSuppression, along with other cleanups. Attempt #3. First one broke GinJavaBridgeValueConverterTest.TypedArrays. Second one broke FileManagerBrowserTest family on ChromeOS. BUG=585949 Committed: https://crrev.com/fdfd5d17ab08e528799125a242893f6f5dcbea43 Cr-Commit-Position: refs/heads/master@{#380570}

Patch Set 1 #

Patch Set 2 : updated #

Patch Set 3 : fixing violations in unit tests #

Patch Set 4 : more test fixes #

Patch Set 5 : even more unit tests #

Patch Set 6 : GinJavaBridgeValueConverterTest #

Patch Set 7 : v8_helpers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -169 lines) Patch
M chrome/test/base/v8_unit_test.cc View 1 2 3 4 chunks +4 lines, -0 lines 0 comments Download
M content/child/v8_value_converter_impl_unittest.cc View 1 2 3 8 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/java/gin_java_bridge_value_converter_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/pepper/v8_var_converter_unittest.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M extensions/renderer/activity_log_converter_strategy_unittest.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M extensions/renderer/api_test_base.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/module_system_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/safe_builtins.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M extensions/renderer/v8_helpers.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M gin/run_microtasks_observer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gin/run_microtasks_observer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperationsTest.cpp View 1 2 3 4 5 6 7 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp View 1 2 3 4 5 6 9 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp View 1 2 3 4 5 6 8 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp View 1 2 3 4 5 6 11 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h View 1 2 3 4 5 6 3 chunks +0 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp View 5 chunks +1 line, -31 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8RecursionScope.h View 1 1 chunk +7 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8RecursionScope.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Microtask.cpp View 1 2 3 4 5 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamReaderTest.cpp View 1 2 3 4 5 6 21 chunks +21 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamTest.cpp View 1 2 3 4 5 6 7 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandleTest.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 55 (28 generated)
dgozman
Could you please take a look? V8-side patch: https://codereview.chromium.org/1741893003/ Thanks, Dmitry
4 years, 10 months ago (2016-02-27 03:06:10 UTC) #2
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-03 06:36:06 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/20001
4 years, 9 months ago (2016-03-06 23:55:16 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/177111)
4 years, 9 months ago (2016-03-07 00:34:20 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/40001
4 years, 9 months ago (2016-03-07 02:00:02 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-07 03:19:32 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/80001
4 years, 9 months ago (2016-03-07 15:31:57 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-07 17:20:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/80001
4 years, 9 months ago (2016-03-07 17:22:15 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-07 17:28:41 UTC) #19
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/83013584d091473d3a5fee6a823bc63b223a472c Cr-Commit-Position: refs/heads/master@{#379574}
4 years, 9 months ago (2016-03-07 17:30:02 UTC) #21
nyquist
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1765423004/ by nyquist@chromium.org. ...
4 years, 9 months ago (2016-03-08 08:00:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/100001
4 years, 9 months ago (2016-03-09 00:18:59 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-09 02:15:02 UTC) #28
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/95a3bd544fe93629b209797d3251423f3d674463 Cr-Commit-Position: refs/heads/master@{#380033}
4 years, 9 months ago (2016-03-09 02:16:23 UTC) #30
tsergeant
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1777183002/ by tsergeant@chromium.org. ...
4 years, 9 months ago (2016-03-10 02:54:22 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/120001
4 years, 9 months ago (2016-03-10 18:49:20 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/194731)
4 years, 9 months ago (2016-03-10 20:10:08 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/120001
4 years, 9 months ago (2016-03-10 21:43:23 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179727)
4 years, 9 months ago (2016-03-10 23:42:30 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/120001
4 years, 9 months ago (2016-03-11 02:31:29 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/187669)
4 years, 9 months ago (2016-03-11 02:45:45 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/120001
4 years, 9 months ago (2016-03-11 02:48:42 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/187692)
4 years, 9 months ago (2016-03-11 03:00:59 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763004/120001
4 years, 9 months ago (2016-03-11 06:20:27 UTC) #51
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-11 07:50:58 UTC) #53
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 07:53:16 UTC) #55
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fdfd5d17ab08e528799125a242893f6f5dcbea43
Cr-Commit-Position: refs/heads/master@{#380570}

Powered by Google App Engine
This is Rietveld 408576698