summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 17:47:23 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 17:47:23 +0000
commitebd128415e344ff2eb3e591b4bf757cf69627aa5 (patch)
treeac82fb077c7e9c1c4138aa839b4d34e96d722b74 /chrome/browser
parent480688d5b9ffeda8b4a2c938166191b5b81b69c3 (diff)
downloadchromium_src-ebd128415e344ff2eb3e591b4bf757cf69627aa5.zip
chromium_src-ebd128415e344ff2eb3e591b4bf757cf69627aa5.tar.gz
chromium_src-ebd128415e344ff2eb3e591b4bf757cf69627aa5.tar.bz2
Make AutomatedUITestBase.CloseBrowserWindow more solid.
It still crashes the browser under test, but less frequently. Preserving the FLAKY_ mark in the test. TEST=none BUG=14774 Review URL: http://codereview.chromium.org/371066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/automation/automation_provider_observers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
index 0009b6f..1265a2e 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -471,7 +471,7 @@ struct CommandNotification {
const struct CommandNotification command_notifications[] = {
{IDC_DUPLICATE_TAB, NotificationType::TAB_PARENTED},
- {IDC_NEW_TAB, NotificationType::TAB_PARENTED},
+ {IDC_NEW_TAB, NotificationType::INITIAL_NEW_TAB_UI_LOAD},
// Returns as soon as the restored tab is created. To further wait until
// the content page is loaded, use WaitForTabToBeRestored.
{IDC_RESTORE_TAB, NotificationType::TAB_PARENTED}