Bug 1449255: Part 24 - Remove test_bug595081.js, which doesn't matter anymore. r?aswan
MozReview-Commit-ID: 7eapcbqSwXs
deleted file mode 100644
--- a/toolkit/mozapps/extensions/test/xpcshell/test_bug595081.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Any copyright is dedicated to the Public Domain.
- * http://creativecommons.org/publicdomain/zero/1.0/
- */
-
-// Tests that the AddonManager objects cannot be tampered with
-
-function run_test() {
- // Setup for test
- createAppInfo("xpcshell@tests.mozilla.org", "XPCShell", "1", "1.9.2");
-
- startupManager();
-
- // Verify that properties cannot be changed
- let old = AddonManager.STATE_AVAILABLE;
- AddonManager.STATE_AVAILABLE = 28;
- Assert.equal(AddonManager.STATE_AVAILABLE, old);
-
- // Verify that functions cannot be replaced
- AddonManager.isInstallEnabled = function() {
- do_throw("Should not be able to replace a function");
- };
- AddonManager.isInstallEnabled("application/x-xpinstall");
-
- // Verify that properties cannot be added
- AddonManager.foo = "bar";
- Assert.equal(false, "foo" in AddonManager);
-}
--- a/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
+++ b/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
@@ -75,17 +75,16 @@ skip-if = true # Bug 1358846 Bug 1365021
[test_bug1180901_2.js]
skip-if = os != "win"
[test_bug514327_2.js]
# Bug 676992: test consistently hangs on Android
skip-if = os == "android"
tags = blocklist
[test_bug521905.js]
[test_bug566626.js]
-[test_bug595081.js]
[test_bug596607.js]
[test_cache_certdb.js]
run-if = addon_signing
[test_cacheflush.js]
[test_childprocess.js]
[test_compatoverrides.js]
[test_corrupt.js]
[test_corruptfile.js]