Bug 1952930. Add CSP for createProfileWizard.xhtml r=tschuster,profiles-reviewers,mossop

Differential Revision: https://phabricator.services.mozilla.com/D240901
This commit is contained in:
Simon Friedberger
2025-03-12 11:13:06 +00:00
parent 072397e757
commit 38a6b051ae
3 changed files with 15 additions and 5 deletions

View File

@@ -1277,6 +1277,7 @@ static nsLiteralCString sStyleSrcUnsafeInlineAllowList[] = {
"chrome://mozapps/content/preferences/changemp.xhtml"_ns,
"chrome://mozapps/content/profile/profileDowngrade.xhtml"_ns,
"chrome://mozapps/content/profile/profileSelection.xhtml"_ns,
"chrome://mozapps/content/profile/createProfileWizard.xhtml"_ns,
};
// img-src data: blob:
static nsLiteralCString sImgSrcDataBlobAllowList[] = {
@@ -1923,7 +1924,6 @@ void nsContentSecurityUtils::AssertChromePageHasCSP(Document* aDocument) {
"chrome://global/skin/in-content/info-pages.css"_ns,
"chrome://layoutdebug/content/layoutdebug.xhtml"_ns,
"chrome://mozapps/content/downloads/unknownContentType.xhtml"_ns,
"chrome://mozapps/content/profile/createProfileWizard.xhtml"_ns,
"chrome://mozapps/content/update/history.xhtml"_ns,
"chrome://mozapps/content/update/updateElevation.xhtml"_ns,
"chrome://pippki/content/certManager.xhtml"_ns,