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

Issue 890333003: TestBlinkWebUnitTestSupport to create the scheduler on the main thread (Closed)

Created:
5 years, 10 months ago by alex clarke (OOO till 29th)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

TestBlinkWebUnitTestSupport to create the scheduler on the main thread Rather than lazily creatng the schedueler (which could happen on any thread), create it in the constructor if there is a message loop. Frustratingly the problem this solves only shows up if you run all the webkit_tests, not just one of them. BUG=391005 Committed: https://crrev.com/37b558ceb861b950dd6e598f9b6f56291448b5fb Cr-Commit-Position: refs/heads/master@{#314309}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M content/test/test_blink_web_unit_test_support.cc View 2 chunks +5 lines, -6 lines 2 comments Download

Messages

Total messages: 15 (5 generated)
alex clarke (OOO till 29th)
5 years, 10 months ago (2015-02-02 14:01:03 UTC) #2
Sami
Good catch, lgtm.
5 years, 10 months ago (2015-02-02 14:28:08 UTC) #3
Sami
https://codereview.chromium.org/890333003/diff/1/content/test/test_blink_web_unit_test_support.cc File content/test/test_blink_web_unit_test_support.cc (right): https://codereview.chromium.org/890333003/diff/1/content/test/test_blink_web_unit_test_support.cc#newcode67 content/test/test_blink_web_unit_test_support.cc:67: if (base::MessageLoopProxy::current()) { Is this ever going to be ...
5 years, 10 months ago (2015-02-02 14:28:33 UTC) #4
alex clarke (OOO till 29th)
https://codereview.chromium.org/890333003/diff/1/content/test/test_blink_web_unit_test_support.cc File content/test/test_blink_web_unit_test_support.cc (right): https://codereview.chromium.org/890333003/diff/1/content/test/test_blink_web_unit_test_support.cc#newcode67 content/test/test_blink_web_unit_test_support.cc:67: if (base::MessageLoopProxy::current()) { On 2015/02/02 14:28:33, Sami wrote: > ...
5 years, 10 months ago (2015-02-02 14:30:06 UTC) #5
alex clarke (OOO till 29th)
jochen@chromium.org: Please take a look!
5 years, 10 months ago (2015-02-02 14:31:49 UTC) #7
alex clarke (OOO till 29th)
+sievers Can you please take a look?
5 years, 10 months ago (2015-02-02 17:09:30 UTC) #9
no sievers
On 2015/02/02 17:09:30, alexclarke1 wrote: > +sievers Can you please take a look? lgtm
5 years, 10 months ago (2015-02-02 18:52:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/890333003/1
5 years, 10 months ago (2015-02-03 10:19:00 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-03 11:07:17 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 11:08:06 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/37b558ceb861b950dd6e598f9b6f56291448b5fb
Cr-Commit-Position: refs/heads/master@{#314309}

Powered by Google App Engine
This is Rietveld 408576698