mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #2311 from brendandahl/change-owner
Change the channel owner to the resource url.
This commit is contained in:
commit
d2c1868497
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