1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

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 ?
securityManager.getNoAppCodebasePrincipal(uri) :
securityManager.getCodebasePrincipal(uri);
channel.owner = resourcePrincipal;
aRequest.owner = resourcePrincipal;
}
channel.asyncOpen(proxy, aContext);
},