Bug 1970075 - Relax img-src CSP in alert.xhtml + tests a=pascalc
Original Revision: https://phabricator.services.mozilla.com/D253561 Differential Revision: https://phabricator.services.mozilla.com/D253828
This commit is contained in:
committed by
pchevrel@mozilla.com
parent
e9b26188b9
commit
fff97f3ade
@@ -1356,6 +1356,7 @@ static nsLiteralCString sImgSrcDataBlobAllowList[] = {
|
||||
"chrome://devtools/content/responsive/toolbar.xhtml"_ns,
|
||||
"chrome://devtools/content/shared/sourceeditor/codemirror/cmiframe.html"_ns,
|
||||
"chrome://devtools/content/webconsole/index.html"_ns,
|
||||
"chrome://global/content/alerts/alert.xhtml"_ns,
|
||||
"chrome://global/content/print.html"_ns,
|
||||
};
|
||||
// img-src https:
|
||||
@@ -1382,6 +1383,7 @@ static nsLiteralCString sImgSrcHttpAllowList[] = {
|
||||
"chrome://devtools/content/framework/browser-toolbox/window.html"_ns,
|
||||
"chrome://devtools/content/framework/toolbox-window.xhtml"_ns,
|
||||
"chrome://browser/content/preferences/dialogs/applicationManager.xhtml"_ns,
|
||||
"chrome://global/content/alerts/alert.xhtml"_ns,
|
||||
"chrome://mozapps/content/handling/appChooser.xhtml"_ns,
|
||||
// STOP! Do not add anything to this list.
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user