UI test for browser termination with beforeunload handler and some cleanup.
This test will pass only after http://codereview.chromium.org/8262009 lands. * Rename CloseAllBrowsersAndExitPosted to ExitPosted. * Add VerifyCleanExit to UITest, code which existed in BrowserTest.SessionEnd. * Move ui tests in browser_uitest.cc to non-anonymous namespace; the test names need to be unique. * Create UnloadTest.BrowserTerminateBeforeUnload which sets up onbeforeunload handler and sends a SIGTERM. BUG=chromium-os:21961 TEST=UnloadTest.BrowserTerminateBeforeUnload passes. Review URL: http://codereview.chromium.org/8376001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107163 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment