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

Issue 2879293002: Move setup of base::test::ScopedFeatureList earlier, to avoid data race. (Closed)

Created:
3 years, 7 months ago by Łukasz Anforowicz
Modified:
3 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, jam, darin-cc_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move setup of base::test::ScopedFeatureList earlier, to avoid data race. base::test::ScopedFeatureList has to be setup before content::BrowserTestBase::SetUp calls content::ContentMain (because the latter spawns other threads that might start reading the global state of features). BUG=722409 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2879293002 Cr-Commit-Position: refs/heads/master@{#471911} Committed: https://chromium.googlesource.com/chromium/src/+/0b772bacda31df9e862388f4859f1d56d3d217ae

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M base/test/scoped_feature_list.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/top_document_isolation_browsertest.cc View 1 chunk +5 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (24 generated)
Łukasz Anforowicz
asvitkine@, could you PTAL? This is a fairly minimal CL to make TSAN bot green ...
3 years, 7 months ago (2017-05-15 20:00:40 UTC) #17
Alexei Svitkine (slow)
lgtm
3 years, 7 months ago (2017-05-15 20:01:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2879293002/60001
3 years, 7 months ago (2017-05-15 20:11:48 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/437327)
3 years, 7 months ago (2017-05-15 20:29:59 UTC) #23
Łukasz Anforowicz
creis@, could you PTAL?
3 years, 7 months ago (2017-05-15 20:33:58 UTC) #25
Charlie Reis
content/ LGTM. Thanks!
3 years, 7 months ago (2017-05-15 20:41:34 UTC) #26
Łukasz Anforowicz
danakj@, could you PTAL @ the changes in base/test/scoped_feature_list.h? FWIW, the main author of this ...
3 years, 7 months ago (2017-05-15 20:47:53 UTC) #28
danakj
LGTM
3 years, 7 months ago (2017-05-15 21:10:14 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2879293002/60001
3 years, 7 months ago (2017-05-15 21:11:54 UTC) #31
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 21:41:18 UTC) #34
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/0b772bacda31df9e862388f4859f...

Powered by Google App Engine
This is Rietveld 408576698