summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/xpinstall/browser_hash2.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/mozapps/extensions/test/xpinstall/browser_hash2.js')
-rw-r--r--toolkit/mozapps/extensions/test/xpinstall/browser_hash2.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/mozapps/extensions/test/xpinstall/browser_hash2.js b/toolkit/mozapps/extensions/test/xpinstall/browser_hash2.js
index 4c8e262c7..8d83e3cd3 100644
--- a/toolkit/mozapps/extensions/test/xpinstall/browser_hash2.js
+++ b/toolkit/mozapps/extensions/test/xpinstall/browser_hash2.js
@@ -11,8 +11,8 @@ function test() {
var triggers = encodeURIComponent(JSON.stringify({
"Unsigned XPI": {
- URL: TESTROOT + "amosigned.xpi",
- Hash: "sha1:36FFB0ACFD9C6E9682473AAEBAAB394D38B473C9",
+ URL: TESTROOT + "unsigned.xpi",
+ Hash: "sha1:3D0DC22E1F394E159B08AAF5F0F97DE4D5C65F4F",
toString: function() { return this.URL; }
}
}));
@@ -27,7 +27,7 @@ function install_ended(install, addon) {
function finish_test(count) {
is(count, 1, "1 Add-on should have been successfully installed");
- Services.perms.remove(makeURI("http://example.com"), "install");
+ Services.perms.remove("example.com", "install");
gBrowser.removeCurrentTab();
Harness.finish();