Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2587)

Unified Diff: chrome/test/functional/downloads.py

Issue 10399069: Reland 137540 - Disable off-store extension installs by default. Also get rid of ExtensionService::… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/extension_switch_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/downloads.py
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py
index ef83454567da6e148d7981348b7ad81f5623bd9d..0428f140012d85a886c4c9bdf8932620a2731c76 100755
--- a/chrome/test/functional/downloads.py
+++ b/chrome/test/functional/downloads.py
@@ -429,22 +429,6 @@ class DownloadsTest(pyauto.PyUITest):
self.assertEqual(file_url, downloads[0]['url'])
self._DeleteAfterShutdown(downloaded_pkg)
- def testDownloadTheme(self):
- """Verify downloading and saving a theme file installs the theme."""
- test_dir = os.path.join(os.path.abspath(self.DataDir()), 'extensions')
- file_url = self.GetFileURLForPath(os.path.join(test_dir, 'theme.crx'))
- downloaded_pkg = os.path.join(self.GetDownloadDirectory().value(),
- 'theme.crx')
- self._ClearLocalDownloadState(downloaded_pkg)
-
- self.DownloadAndWaitForStart(file_url)
- self.PerformActionOnDownload(self._GetDownloadId(),
- 'save_dangerous_download')
- # Wait for the theme to be set automatically.
- self.assertTrue(self.WaitUntilDownloadedThemeSet('camo theme'))
- self.assertTrue(self.WaitUntil(lambda path: not os.path.exists(path),
- args=[downloaded_pkg]))
-
def testExtendedAttributesOnMac(self):
"""Verify that Chrome sets the extended attributes on a file.
This test is for mac only.
« no previous file with comments | « chrome/common/extensions/extension_switch_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698