Change the channel owner to the resource url.

This commit is contained in:
Brendan Dahl 2012-10-26 10:22:28 -07:00
parent 9b7a78ea1a
commit a842534a56

View File

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