diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 11:26:26 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 11:26:26 +0000 |
commit | 237079b2288f093a251328731a953008cebfe7b5 (patch) | |
tree | 27a048aa43f375eaee1a0a0de04cf3f6f9bb6877 /chrome/renderer/chrome_content_renderer_client.cc | |
parent | 5d3145cac260379a193e84de2ee512b9a3f92a21 (diff) | |
download | chromium_src-237079b2288f093a251328731a953008cebfe7b5.zip chromium_src-237079b2288f093a251328731a953008cebfe7b5.tar.gz chromium_src-237079b2288f093a251328731a953008cebfe7b5.tar.bz2 |
Tentative fix for PopupBlockerBrowserTest.PopupBlockedPostBlank
BUG=none
TBR=abarth
TEST=no christmas tree
Review URL: http://codereview.chromium.org/7827044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/chrome_content_renderer_client.cc')
-rw-r--r-- | chrome/renderer/chrome_content_renderer_client.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc index 2057aa9..858d5ad 100644 --- a/chrome/renderer/chrome_content_renderer_client.cc +++ b/chrome/renderer/chrome_content_renderer_client.cc @@ -574,11 +574,10 @@ bool ChromeContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { } bool ChromeContentRendererClient::AllowPopup(const GURL& creator) { - return true; // Extensions and apps always allowed to create unrequested popups. The second // check is necessary to include content scripts. - // return extension_dispatcher_->extensions()->GetByURL(creator) || - // bindings_utils::GetInfoForCurrentContext(); + return extension_dispatcher_->extensions()->GetByURL(creator) || + bindings_utils::GetInfoForCurrentContext(); } bool ChromeContentRendererClient::ShouldFork(WebFrame* frame, |