Fix saving snapshots with Gecko 17

This commit is contained in:
Simon Kornblith 2012-11-11 17:14:05 -05:00
parent 6d48b9224d
commit 425b2161cc

View file

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