HostContentSettingsMap used from other thread before initialization finishes |
||||||
Issue descriptionDCHEC_NE in HostContentSettingsMap::RegisterProvider [1] is quite easy to happen now after https://codereview.chromium.org/2777183010. The CL added a special_storage_policy_->IsStorageSessionOnly() call which uses HostContentSettingsMap::GetWebsiteSetting on IO thread before ExtensionService::RegisterContentSettings is called from ProfileManager::DoFinalInitForServices on the main thread. To repro, build a chromeos chrome on linux and run with "--login-manager" and signs in as a user. Think it happens on device too but go un-noticed because this is only a DCHECK. michaeln@, could you take a look? It breaks the work flow on dev box. [1] https://cs.chromium.org/chromium/src/components/content_settings/core/browser/host_content_settings_map.cc?rcl=4cd4d67ff4b29899a150e92a129179ca4bbcdd49&l=241
,
Apr 20 2017
,
Apr 20 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/79743d6711cd3e10938f7a7fb057dd065dca3822 commit 79743d6711cd3e10938f7a7fb057dd065dca3822 Author: michaeln <michaeln@chromium.org> Date: Thu Apr 20 19:56:26 2017 Only test SpecialStoragePolicy->IsOriginSessionOnly for temporary storage The attribute doesn't apply to other types and this also avoid calling into the ExtensionSpecialStoragePolicy prior to the extension system being fully initialized. BUG= 713353 Review-Url: https://codereview.chromium.org/2834563002 Cr-Commit-Position: refs/heads/master@{#466097} [modify] https://crrev.com/79743d6711cd3e10938f7a7fb057dd065dca3822/storage/browser/quota/quota_manager.cc
,
Apr 20 2017
,
May 25 2017
Issue 718605 has been merged into this issue.
,
May 30 2017
,
Aug 1 2017
,
Jan 22 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by xiy...@chromium.org
, Apr 19 2017