summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 21:37:46 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 21:37:46 +0000
commitaabe179ca12bffddeb57406e4f5a66cbdf3cd2c7 (patch)
treec939400939acfa1510efbc5af13134b92088bad2 /components
parent3f86380d191b85389a87b405159b53bcb0548e2f (diff)
downloadchromium_src-aabe179ca12bffddeb57406e4f5a66cbdf3cd2c7.zip
chromium_src-aabe179ca12bffddeb57406e4f5a66cbdf3cd2c7.tar.gz
chromium_src-aabe179ca12bffddeb57406e4f5a66cbdf3cd2c7.tar.bz2
When checking the public suffix list, set INCLUDE_PRIVATE_REGISTRIES for all security decisions.
For cookies, LSOs, site isolation, and renderer security decisions, also consider domains on the PSL's private domains list, since the purpose of the private domains is to set distinct security zones. BUG=335902 Review URL: https://codereview.chromium.org/130623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r--components/web_modal/web_contents_modal_dialog_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/web_modal/web_contents_modal_dialog_manager.cc b/components/web_modal/web_contents_modal_dialog_manager.cc
index 85b0448..53b4667 100644
--- a/components/web_modal/web_contents_modal_dialog_manager.cc
+++ b/components/web_modal/web_contents_modal_dialog_manager.cc
@@ -146,7 +146,7 @@ void WebContentsModalDialogManager::DidNavigateMainFrame(
// Close constrained windows if necessary.
if (!net::registry_controlled_domains::SameDomainOrHost(
details.previous_url, details.entry->GetURL(),
- net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES))
+ net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES))
CloseAllDialogs();
}