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

Unified Diff: chrome/browser/unload_browsertest.cc

Issue 11235048: Test suite that monitors the disposition of JS-created windows based on what (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review feedback, removed popup blocker code. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/unload_browsertest.cc
diff --git a/chrome/browser/unload_browsertest.cc b/chrome/browser/unload_browsertest.cc
index 9b72b335c67c5c952b7f5b3ba318f2f6a14f6da6..0b98a0024cc6380151b30b4d20c6726b84502183 100644
--- a/chrome/browser/unload_browsertest.cc
+++ b/chrome/browser/unload_browsertest.cc
@@ -395,7 +395,8 @@ IN_PROC_BROWSER_TEST_F(UnloadTest, BrowserCloseTabWhenOtherTabHasListener) {
content::WindowedNotificationObserver load_stop_observer(
content::NOTIFICATION_LOAD_STOP,
content::NotificationService::AllSources());
- content::SimulateMouseClick(chrome::GetActiveWebContents(browser()));
+ content::SimulateMouseClick(chrome::GetActiveWebContents(browser()), 0,
+ WebKit::WebMouseEvent::ButtonLeft);
observer.Wait();
load_stop_observer.Wait();
CheckTitle("popup");

Powered by Google App Engine
This is Rietveld 408576698