Change the channel owner to the resource url.
This commit is contained in:
parent
9b7a78ea1a
commit
a842534a56
@ -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);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user