mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +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 ?
|
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…
Add table
Add a link
Reference in a new issue