Bug 1958797 - Add a CSP to default-bookmarks.html. r=places-reviewers,Standard8

This seems to be only used as a data document, so we can use a very strict
CSP.

Differential Revision: https://phabricator.services.mozilla.com/D244916
This commit is contained in:
Tom Schuster
2025-04-09 14:46:38 +00:00
parent d92943afdd
commit cdc567e2fc
2 changed files with 1 additions and 1 deletions

View File

@@ -1958,7 +1958,6 @@ void nsContentSecurityUtils::AssertChromePageHasCSP(Document* aDocument) {
}
static nsLiteralCString sAllowedChromePagesWithNoCSP[] = {
"chrome://browser/content/default-bookmarks.html"_ns,
"chrome://browser/content/shopping/review-checker.xhtml"_ns,
"chrome://geckoview/content/geckoview.xhtml"_ns,
"chrome://global/content/alerts/alert.xhtml"_ns,