forked from mirrors/gecko-dev
Bug 1894958: apply code formatting via Lando
# ignore-this-changeset
This commit is contained in:
parent
e26694557f
commit
5c5ebbf97c
1 changed files with 13 additions and 12 deletions
|
|
@ -1332,19 +1332,20 @@ void nsContentSecurityUtils::AssertAboutPageHasCSP(Document* aDocument) {
|
|||
// This allowlist contains about: pages that are permanently allowed to
|
||||
// render without a CSP applied.
|
||||
static nsLiteralCString sAllowedAboutPagesWithNoCSP[] = {
|
||||
// about:blank is a special about page -> no CSP
|
||||
"about:blank"_ns,
|
||||
// about:srcdoc is a special about page -> no CSP
|
||||
"about:srcdoc"_ns,
|
||||
// about:sync-log displays plain text only -> no CSP
|
||||
"about:sync-log"_ns,
|
||||
// about:logo just displays the firefox logo -> no CSP
|
||||
"about:logo"_ns,
|
||||
// about:sync is a special mozilla-signed developer addon with low usage ->
|
||||
// no CSP
|
||||
"about:sync"_ns,
|
||||
// about:blank is a special about page -> no CSP
|
||||
"about:blank"_ns,
|
||||
// about:srcdoc is a special about page -> no CSP
|
||||
"about:srcdoc"_ns,
|
||||
// about:sync-log displays plain text only -> no CSP
|
||||
"about:sync-log"_ns,
|
||||
// about:logo just displays the firefox logo -> no CSP
|
||||
"about:logo"_ns,
|
||||
// about:sync is a special mozilla-signed developer addon with low usage
|
||||
// ->
|
||||
// no CSP
|
||||
"about:sync"_ns,
|
||||
# if defined(ANDROID)
|
||||
"about:config"_ns,
|
||||
"about:config"_ns,
|
||||
# endif
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue