summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/xpinstall/browser_httphash4.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/mozapps/extensions/test/xpinstall/browser_httphash4.js')
-rw-r--r--toolkit/mozapps/extensions/test/xpinstall/browser_httphash4.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/mozapps/extensions/test/xpinstall/browser_httphash4.js b/toolkit/mozapps/extensions/test/xpinstall/browser_httphash4.js
index 3983662af..97dc64d1f 100644
--- a/toolkit/mozapps/extensions/test/xpinstall/browser_httphash4.js
+++ b/toolkit/mozapps/extensions/test/xpinstall/browser_httphash4.js
@@ -10,7 +10,7 @@ function test() {
pm.add(makeURI("http://example.com/"), "install", pm.ALLOW_ACTION);
var url = "http://example.com/browser/" + RELATIVE_DIR + "hashRedirect.sjs";
- url += "?sha1:foobar|" + TESTROOT + "amosigned.xpi";
+ url += "?sha1:foobar|" + TESTROOT + "unsigned.xpi";
var triggers = encodeURIComponent(JSON.stringify({
"Unsigned XPI": {
@@ -29,7 +29,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();