mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #7954 from yurydelendik/bug1329182
[Bug 1329182] remove trailing newURI null parameters
This commit is contained in:
commit
76b4c8fae1
1 changed files with 1 additions and 1 deletions
|
@ -1008,7 +1008,7 @@ PdfStreamConverter.prototype = {
|
|||
// from the request channel to keep isolation consistent.
|
||||
var ssm = Cc['@mozilla.org/scriptsecuritymanager;1']
|
||||
.getService(Ci.nsIScriptSecurityManager);
|
||||
var uri = NetUtil.newURI(PDF_VIEWER_WEB_PAGE, null, null);
|
||||
var uri = NetUtil.newURI(PDF_VIEWER_WEB_PAGE);
|
||||
var resourcePrincipal =
|
||||
ssm.createCodebasePrincipal(uri, aRequest.loadInfo.originAttributes);
|
||||
aRequest.owner = resourcePrincipal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue