Chromium Code Reviews| Index: chrome/test/functional/chromeos_browser.py |
| diff --git a/chrome/test/functional/chromeos_browser.py b/chrome/test/functional/chromeos_browser.py |
| index 8b4adb981f3e71bb88d71a1571361236d9dc2e96..1a77b840a0d66660d5658b8946f5f50037ccaa74 100755 |
| --- a/chrome/test/functional/chromeos_browser.py |
| +++ b/chrome/test/functional/chromeos_browser.py |
| @@ -1,5 +1,5 @@ |
| -#!/usr/bin/python |
| -# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +#!/usr/bin/env python |
| +# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| @@ -39,6 +39,14 @@ class ChromeosBrowserTest(pyauto.PyUITest): |
| self.assertTrue(info[0]['incognito'], |
| msg='Incognito window is not displayed.') |
| + def testCrashBrowser(self): |
| + """Verify that after broswer crash is recovered, user can still navigate |
| + to other URL. """ |
| + crash_url = 'about:inducebrowsercrashforrealz' |
| + self.NavigateToURL(crash_url) |
| + self.NavigateToURL('http://www.google.com') |
|
Nirnimesh
2012/04/18 23:21:54
I don't think this call will succeed. The pyauto c
Nirnimesh
2012/04/18 23:21:54
Do not use live URLs. Use one of the existing data
tturchetto
2012/04/23 21:29:39
Done.
tturchetto
2012/04/23 21:29:39
Done.
|
| + self.assertEqual("Google", self.GetActiveTabTitle()) |
| + |
| def testFullScreen(self): |
| """Verify that a browser window can enter and exit full screen mode.""" |
| self.ApplyAccelerator(pyauto.IDC_FULLSCREEN) |