Bug 1738190 - allow opening inline SVG background images in a new tab, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D165454
This commit is contained in:
@@ -423,6 +423,9 @@ function openLinkIn(url, where, params) {
|
||||
params.hasValidUserGestureActivation
|
||||
);
|
||||
}
|
||||
if (aForceAllowDataURI) {
|
||||
extraOptions.setPropertyAsBool("forceAllowDataURI", true);
|
||||
}
|
||||
if (params.fromExternal !== undefined) {
|
||||
extraOptions.setPropertyAsBool("fromExternal", params.fromExternal);
|
||||
}
|
||||
@@ -663,6 +666,7 @@ function openLinkIn(url, where, params) {
|
||||
allowInheritPrincipal: aAllowInheritPrincipal,
|
||||
triggeringRemoteType: aTriggeringRemoteType,
|
||||
csp: aCsp,
|
||||
forceAllowDataURI: aForceAllowDataURI,
|
||||
focusUrlBar,
|
||||
openerBrowser: params.openerBrowser,
|
||||
fromExternal: params.fromExternal,
|
||||
|
||||
Reference in New Issue
Block a user