Merge pull request #2311 from brendandahl/change-owner

Change the channel owner to the resource url.
This commit is contained in:
Yury Delendik 2012-10-26 13:16:52 -07:00
commit d2c1868497

View File

@ -653,7 +653,7 @@ PdfStreamConverter.prototype = {
var resourcePrincipal = 'getNoAppCodebasePrincipal' in securityManager ?
securityManager.getNoAppCodebasePrincipal(uri) :
securityManager.getCodebasePrincipal(uri);
channel.owner = resourcePrincipal;
aRequest.owner = resourcePrincipal;
}
channel.asyncOpen(proxy, aContext);
},