Bug 1449255: Part 19 - Remove test_bug616841.js, which has no business being part of the add-on manager test suite. r=aswan
authorKris Maglione <maglione.k@gmail.com>
Tue, 27 Mar 2018 16:30:33 -0700
changeset 777730 6a0b90b96ca497c00cd57c5cd13a939924bfc124
parent 777729 b2f7ca40da60b10da7c2334f2f70a5d9d964a421
child 777731 51503983d8c0b142d1ddf4b12bd7152a7a531962
push id105269
push userbmo:gl@mozilla.com
push dateThu, 05 Apr 2018 08:11:19 +0000
reviewersaswan
bugs1449255, 616841
milestone61.0a1
Bug 1449255: Part 19 - Remove test_bug616841.js, which has no business being part of the add-on manager test suite. r=aswan MozReview-Commit-ID: BCOU9TZawKe
toolkit/mozapps/extensions/test/xpcshell/test_bug616841.js
toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
deleted file mode 100644
--- a/toolkit/mozapps/extensions/test/xpcshell/test_bug616841.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Any copyright is dedicated to the Public Domain.
- * http://creativecommons.org/publicdomain/zero/1.0/
- */
-
-// Tests that string comparisons work correctly in callbacks
-
-function test_string_compare() {
-  Assert.ok("C".localeCompare("D") < 0);
-  Assert.ok("D".localeCompare("C") > 0);
-  Assert.ok("\u010C".localeCompare("D") < 0);
-  Assert.ok("D".localeCompare("\u010C") > 0);
-}
-
-function run_test() {
-  createAppInfo("xpcshell@tests.mozilla.org", "XPCShell", "1", "1.9.2");
-  startupManager();
-
-  do_test_pending();
-
-  test_string_compare();
-
-  AddonManager.getAddonByID("foo", function(aAddon) {
-    test_string_compare();
-    executeSoon(do_test_finished);
-  });
-}
--- a/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
+++ b/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
@@ -81,19 +81,16 @@ skip-if = os != "win"
 [test_bug566626.js]
 [test_bug567184.js]
 [test_bug569138.js]
 [test_bug570173.js]
 [test_bug587088.js]
 skip-if = os == "win" # Bug 1358846
 [test_bug595081.js]
 [test_bug596607.js]
-[test_bug616841.js]
-# Bug 676992: test consistently fails on Android
-fail-if = os == "android"
 [test_cache_certdb.js]
 run-if = addon_signing
 [test_cacheflush.js]
 [test_childprocess.js]
 [test_compatoverrides.js]
 [test_corrupt.js]
 [test_corruptfile.js]
 [test_crash_annotation_quoting.js]