From 425b2161cc018c31079851067bbd2f745bb07c1e Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 11 Nov 2012 17:14:05 -0500 Subject: [PATCH] Fix saving snapshots with Gecko 17 --- components/zotero-protocol-handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/zotero-protocol-handler.js b/components/zotero-protocol-handler.js index 54f81f5c51..d8166e35ae 100644 --- a/components/zotero-protocol-handler.js +++ b/components/zotero-protocol-handler.js @@ -963,7 +963,7 @@ function ChromeExtensionHandler() { this.name = uri; this.URI = ioService.newURI(uri, "UTF-8", null); - this.owner = secMan.getCodebasePrincipal(this.URI); + this.owner = (secMan.getCodebasePrincipal || secMan.getSimpleCodebasePrincipal)(this.URI); this._isPending = true; var converter = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"].