Merge pull request #7954 from yurydelendik/bug1329182

[Bug 1329182] remove trailing newURI null parameters
This commit is contained in:
Yury Delendik 2017-01-12 19:41:44 -06:00 committed by GitHub
commit 76b4c8fae1

View File

@ -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;