| Index: chrome/test/functional/cookies.py
|
| diff --git a/chrome/test/functional/cookies.py b/chrome/test/functional/cookies.py
|
| index 55498ad8f8176c3b28acb71f654a75abea4e3e28..666adb23e7ae723ba6cd85b141099ea69e8bbefc 100755
|
| --- a/chrome/test/functional/cookies.py
|
| +++ b/chrome/test/functional/cookies.py
|
| @@ -143,31 +143,6 @@ class CookiesTest(pyauto.PyUITest):
|
| self.assertFalse(self.GetCookie(pyauto.GURL(https_url)),
|
| msg='Cookies are not blocked.')
|
|
|
| - def testClearCookiesOnEndingSession(self):
|
| - """Verify that cookies are cleared when the browsing session is closed."""
|
| -
|
| - # This test fails on ChromeOS because kRestoreOnStartup is ignored and
|
| - # the startup preference is always "continue where I left off."
|
| - if self.IsChromeOS():
|
| - logging.info('Skipping testClearCookiesOnEndingSession on ChromeOS')
|
| - return
|
| -
|
| - file_url = self.GetFileURLForDataPath('setcookie.html')
|
| - self.assertFalse(self.GetCookie(pyauto.GURL(file_url)),
|
| - msg='There should be no cookies on %s' % file_url)
|
| -
|
| - # Set the option to clear cookies when the browser session is closed.
|
| - self.SetPrefs(pyauto.kClearSiteDataOnExit, True)
|
| -
|
| - self.NavigateToURL(file_url)
|
| - self.assertEqual('name=Good', self.GetCookie(pyauto.GURL(file_url)),
|
| - msg='Unable to retrieve the cookie name=Good')
|
| -
|
| - # Restart and verify that cookie does not persist
|
| - self.RestartBrowser(clear_profile=False)
|
| - self.assertFalse(self.GetCookie(pyauto.GURL(file_url)),
|
| - msg='Cookie persisted after restarting session.')
|
| -
|
| def testAllowCookiesUsingExceptions(self):
|
| """Verify that cookies can be allowed and set using exceptions for
|
| particular website(s) when all others are blocked."""
|
|
|