Bug 1449255: Part 19 - Remove test_bug616841.js, which has no business being part of the add-on manager test suite. r?aswan draft
authorKris Maglione <maglione.k@gmail.com>
Tue, 27 Mar 2018 16:30:33 -0700
changeset 773488 8a3f3f8ed65de5f280c3606417fb44740a16d909
parent 773487 3797089c8d7f828c946df3a4e7692df16e70ff1b
child 773489 3293e5badce0f4b7df5ff8c29ac90423dc860513
push id104243
push usermaglione.k@gmail.com
push dateWed, 28 Mar 2018 00:15:32 +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
@@ -82,19 +82,16 @@ tags = blocklist
 [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]