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"].