Fix saving snapshots with Gecko 17
This commit is contained in:
parent
6d48b9224d
commit
425b2161cc
1 changed files with 1 additions and 1 deletions
|
@ -963,7 +963,7 @@ function ChromeExtensionHandler() {
|
||||||
|
|
||||||
this.name = uri;
|
this.name = uri;
|
||||||
this.URI = ioService.newURI(uri, "UTF-8", null);
|
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;
|
this._isPending = true;
|
||||||
|
|
||||||
var converter = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"].
|
var converter = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"].
|
||||||
|
|
Loading…
Reference in a new issue