Bug 1449255: Part 9 - Remove test_bug465190.js. r=aswan
authorKris Maglione <maglione.k@gmail.com>
Tue, 27 Mar 2018 15:20:14 -0700
changeset 777717 776dafdd2ced4bd341cdb620b1e7fa7dd35a41fa
parent 777716 b943682df6577b427ce474e30a2d064e578bcde3
child 777718 10015c7138aeaba11b514279e067c2b6e9599ed8
push id105269
push userbmo:gl@mozilla.com
push dateThu, 05 Apr 2018 08:11:19 +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