summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_management_browsertest.cc
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-14 09:21:05 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-14 09:21:05 +0000
commit7810c485ca3982f92297478e316c57925ba59028 (patch)
tree8f570fb6cc2279c0e3cf823de384f94a5d92163d /chrome/browser/extensions/extension_management_browsertest.cc
parentf708a5998d4ce532a149e048633d2e43b112cd0a (diff)
downloadchromium_src-7810c485ca3982f92297478e316c57925ba59028.zip
chromium_src-7810c485ca3982f92297478e316c57925ba59028.tar.gz
chromium_src-7810c485ca3982f92297478e316c57925ba59028.tar.bz2
Redirect chrome://extensions to the new chrome://settings/chromeExtensions.
The two modifications to the tests were needed because they were trying to open chrome://extensions in incognito. In one case, the test just needed any page (so I switched to about:blank) and in the other we are testing for a condition that cannot happen anymore because chrome://extensions could be loaded in incognito but chrome://settings doesn't allow that -- it shunts the request to the non-incognito profile. The test was testing that we don't crash in incognito, so I removed that test. BUG=87377 TEST=Well... type in chrome://extensions and notice it redirects. Review URL: http://codereview.chromium.org/7888010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_management_browsertest.cc')
-rw-r--r--chrome/browser/extensions/extension_management_browsertest.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/chrome/browser/extensions/extension_management_browsertest.cc b/chrome/browser/extensions/extension_management_browsertest.cc
index dd5357b..3119ab0 100644
--- a/chrome/browser/extensions/extension_management_browsertest.cc
+++ b/chrome/browser/extensions/extension_management_browsertest.cc
@@ -145,20 +145,6 @@ IN_PROC_BROWSER_TEST_F(ExtensionManagementTest, InstallRequiresConfirm) {
UninstallExtension("ldnnhddmnhbkjipkidpdiheffobcpfmf");
}
-// Tests that installing and uninstalling extensions don't crash with an
-// incognito window open.
-IN_PROC_BROWSER_TEST_F(ExtensionManagementTest, Incognito) {
- // Open an incognito window to the extensions management page. We just
- // want to make sure that we don't crash while playing with extensions when
- // this guy is around.
- ui_test_utils::OpenURLOffTheRecord(browser()->profile(),
- GURL(chrome::kChromeUIExtensionsURL));
-
- ASSERT_TRUE(InstallExtensionWithUIAutoConfirm(
- test_data_dir_.AppendASCII("good.crx"), 1, browser()->profile()));
- UninstallExtension("ldnnhddmnhbkjipkidpdiheffobcpfmf");
-}
-
// Tests the process of updating an extension to one that requires higher
// permissions.
IN_PROC_BROWSER_TEST_F(ExtensionManagementTest, UpdatePermissions) {