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:
parent
9b7a78ea1a
commit
a842534a56
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue