mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
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:
parent
f35c0b7d5d
commit
e864dc7028
@ -712,7 +712,7 @@ var PlacesUIUtils = {
|
||||
aWindow.openTrustedLinkIn(aNode.uri, aWhere, {
|
||||
allowPopups: isJavaScriptURL,
|
||||
inBackground: this.loadBookmarksInBackground,
|
||||
allowInheritPrincipal: isJavaScriptURL && aWhere == "current",
|
||||
allowInheritPrincipal: isJavaScriptURL,
|
||||
private: aPrivate,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user