commit 425b2161cc018c31079851067bbd2f745bb07c1e parent 6d48b9224d67b8ce51b59667f473160260adb557 Author: Simon Kornblith <simon@simonster.com> Date: Sun, 11 Nov 2012 17:14:05 -0500 Fix saving snapshots with Gecko 17 Diffstat:
| M | 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 @@ -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"].