Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D21911
This commit is contained in:
Thomas Nguyen
2019-03-15 05:10:17 +00:00
parent e6f4ac6e81
commit e5f8eebf98
12 changed files with 128 additions and 140 deletions

View File

@@ -245,11 +245,10 @@ function openBrowserWindow(cmdLine, triggeringPrincipal, urlOrUrlList, postData
// Also, we need to pass the triggering principal.
args = [urlOrUrlList,
null, // charset
null, // referer
null, // refererInfo
postData,
undefined, // allowThirdPartyFixup; this would be `false` but that
// needs a conversion. Hopefully bug 1485961 will fix.
undefined, // referrer policy
undefined, // user context id
null, // origin principal
triggeringPrincipal];