Bug 1955438. Add CSP to setp12password.xhtml r=tschuster
Depends on D242484 Differential Revision: https://phabricator.services.mozilla.com/D242485
This commit is contained in:
@@ -1297,6 +1297,7 @@ static nsLiteralCString sStyleSrcUnsafeInlineAllowList[] = {
|
||||
"chrome://pippki/content/downloadcert.xhtml"_ns,
|
||||
"chrome://pippki/content/editcacert.xhtml"_ns,
|
||||
"chrome://pippki/content/load_device.xhtml"_ns,
|
||||
"chrome://pippki/content/setp12password.xhtml"_ns,
|
||||
};
|
||||
// img-src data: blob:
|
||||
static nsLiteralCString sImgSrcDataBlobAllowList[] = {
|
||||
@@ -1960,7 +1961,6 @@ void nsContentSecurityUtils::AssertChromePageHasCSP(Document* aDocument) {
|
||||
"chrome://global/content/selectDialog.xhtml"_ns,
|
||||
"chrome://global/content/win.xhtml"_ns,
|
||||
"chrome://layoutdebug/content/layoutdebug.xhtml"_ns,
|
||||
"chrome://pippki/content/setp12password.xhtml"_ns,
|
||||
// Test files
|
||||
"chrome://mochikit/"_ns,
|
||||
"chrome://mochitests/"_ns,
|
||||
|
||||
Reference in New Issue
Block a user