DescriptionUI 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.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107163
Patch Set 1 #Patch Set 2 : add pref_names.* #Patch Set 3 : Revert app terminating notification test #
Total comments: 4
Patch Set 4 : Add TODO for crbug.com/101390, and rebase #Patch Set 5 : BrowserTestBeforeUnload only for cros #
Messages
Total messages: 12 (0 generated)
|