зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1719539 - Fix Pocket button csp for saved panel in debug mode r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D119332
This commit is contained in:
Родитель
857004dbe9
Коммит
a550183af4
|
@ -963,7 +963,8 @@ void nsContentSecurityUtils::AssertAboutPageHasCSP(Document* aDocument) {
|
|||
StringBeginsWith(aboutSpec, "about:logins"_ns) ||
|
||||
StringBeginsWith(aboutSpec, "about:home"_ns) ||
|
||||
StringBeginsWith(aboutSpec, "about:welcome"_ns) ||
|
||||
StringBeginsWith(aboutSpec, "about:devtools"_ns),
|
||||
StringBeginsWith(aboutSpec, "about:devtools"_ns) ||
|
||||
StringBeginsWith(aboutSpec, "about:pocket-saved"_ns),
|
||||
"about: page must not contain a CSP including a web scheme");
|
||||
|
||||
if (aDocument->IsExtensionPage()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче