Bug 1449255: Part 9 - Remove test_bug465190.js. r?aswan draft
authorKris Maglione <maglione.k@gmail.com>
Tue, 27 Mar 2018 15:20:14 -0700
changeset 773475 3f1ff7f750f34021efd5a0d7775e8b0bf89d2b3c
parent 773474 652994715180be882e0c54fd8676a384684f1328
child 773476 bf92baecce60f0d5e226be5495295fbe9c66c1d6
push id104243
push usermaglione.k@gmail.com
push dateWed, 28 Mar 2018 00:15:32 +0000
reviewersaswan
bugs1449255, 465190
milestone61.0a1
Bug 1449255: Part 9 - Remove test_bug465190.js. r?aswan MozReview-Commit-ID: K8J7ytv20jN
toolkit/mozapps/extensions/test/xpcshell/test_bug465190.js
toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
deleted file mode 100644
--- a/toolkit/mozapps/extensions/test/xpcshell/test_bug465190.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-var installLocation = gProfD.clone();
-installLocation.append("baddir");
-installLocation.create(Ci.nsIFile.NORMAL_FILE_TYPE, 0o664);
-
-var dirProvider2 = {
-  getFile(prop, persistent) {
-    persistent.value = true;
-    if (prop == "XREUSysExt")
-      return installLocation.clone();
-    return null;
-  },
-  QueryInterface(iid) {
-    if (iid.equals(Ci.nsIDirectoryServiceProvider) ||
-        iid.equals(Ci.nsISupports)) {
-      return this;
-    }
-    throw Cr.NS_ERROR_NO_INTERFACE;
-  }
-};
-Services.dirsvc.QueryInterface(Ci.nsIDirectoryService)
-               .registerProvider(dirProvider2);
-
-function run_test() {
-  var log = gProfD.clone();
-  log.append("extensions.log");
-  Assert.ok(!log.exists());
-
-  // Setup for test
-  createAppInfo("xpcshell@tests.mozilla.org", "XPCShell", "1");
-
-  startupManager();
-  Assert.ok(!log.exists());
-}
--- a/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
+++ b/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
@@ -54,19 +54,16 @@ tags = blocklist
 requesttimeoutfactor = 2
 tags = blocklist
 [test_bootstrap.js]
 skip-if = true # Bug 1358846 Bug 1365021 Bug 676992
 [test_bootstrap_const.js]
 [test_bootstrap_globals.js]
 [test_bug1180901_2.js]
 skip-if = os != "win"
-[test_bug465190.js]
-# Bug 676992: test consistently hangs on Android
-skip-if = os == "android"
 [test_bug468528.js]
 # Bug 676992: test consistently hangs on Android
 skip-if = os == "android"
 tags = blocklist
 [test_bug514327_1.js]
 # Bug 676992: test consistently hangs on Android
 skip-if = os == "android"
 tags = blocklist