summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-29 21:19:27 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-29 21:19:27 +0000
commit35f7d2144b8aae4bdc1509961738e6bf71d6021c (patch)
tree2b5a7ba48e9e86084f96d8ad4a809f6733257d41 /chrome/browser/renderer_host
parentf3089a667ef63143572a19a0ade9644d38cd3757 (diff)
downloadchromium_src-35f7d2144b8aae4bdc1509961738e6bf71d6021c.zip
chromium_src-35f7d2144b8aae4bdc1509961738e6bf71d6021c.tar.gz
chromium_src-35f7d2144b8aae4bdc1509961738e6bf71d6021c.tar.bz2
Second attempt at cleaning up handling of --disable-popup-blocking. I didn't realize that now window.open() will result in a popup with this flag, where before it resulted in a tab. This necessitated changes to a test that expected one window and two tabs to expect two windows each with one tab.
I also fixed the test to not crash when some expectations were not met (by using ASSERT_ instead of EXPECT_), and to properly use (expected, actual) instead of (actual, expected). Review URL: http://codereview.chromium.org/99203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14886 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r--chrome/browser/renderer_host/browser_render_process_host.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index c7c01f8..885a086 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -265,7 +265,6 @@ bool BrowserRenderProcessHost::Init() {
switches::kMessageLoopHistogrammer,
switches::kEnableDCHECK,
switches::kSilentDumpOnDCHECK,
- switches::kDisablePopupBlocking,
switches::kUseLowFragHeapCrt,
switches::kEnableWebWorkers,
switches::kEnableStatsTable,