From f07aeda26e96052469914564ee3eca1b837654d0 Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Wed, 18 Nov 2009 23:46:43 +0000 Subject: Revert r32108 and re-enable BrowserTest.FLAKY_SingleBeforeUnloadAfterWindowClose on Linux. Some crashers on window close have been fixed so let's try running this again. I was unable to repro from running the test in a loop for a few hours. TBR=erikkay Review URL: http://codereview.chromium.org/408016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32434 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_browsertest.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chrome/browser/browser_browsertest.cc b/chrome/browser/browser_browsertest.cc index efe84dbf..762be21 100644 --- a/chrome/browser/browser_browsertest.cc +++ b/chrome/browser/browser_browsertest.cc @@ -163,9 +163,6 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, ReloadThenCancelBeforeUnload) { ExecuteJavascriptInWebFrame(L"", L"onbeforeunload=null;"); } -// Disable this test for Linux. -// TODO(port) BUG=crbug.com/27893 -#if !defined(OS_LINUX) // Test for crbug.com/11647. A page closed with window.close() should not have // two beforeunload dialogs shown. IN_PROC_BROWSER_TEST_F(BrowserTest, FLAKY_SingleBeforeUnloadAfterWindowClose) { @@ -184,7 +181,6 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, FLAKY_SingleBeforeUnloadAfterWindowClose) { EXPECT_FALSE(alert->is_before_unload_dialog()); alert->AcceptWindow(); } -#endif // Test that get_process_idle_time() returns reasonable values when compared // with time deltas measured locally. -- cgit v1.1