Bug 1502072 - Removing restriction of opening javascript places into new tabs. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D20894

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jonathan Kingston 2019-02-25 11:19:05 +00:00
parent f35c0b7d5d
commit e864dc7028

View File

@ -712,7 +712,7 @@ var PlacesUIUtils = {
aWindow.openTrustedLinkIn(aNode.uri, aWhere, {
allowPopups: isJavaScriptURL,
inBackground: this.loadBookmarksInBackground,
allowInheritPrincipal: isJavaScriptURL && aWhere == "current",
allowInheritPrincipal: isJavaScriptURL,
private: aPrivate,
});
}