Bug 1950311 - Add CSP to devtool's webextension-fallback.html. r=devtools-reviewers,extension-reviewers,ochameau,robwu

Differential Revision: https://phabricator.services.mozilla.com/D242342
This commit is contained in:
Tom Schuster
2025-03-24 17:36:39 +00:00
parent e8fc554759
commit 830653872b
2 changed files with 1 additions and 1 deletions

View File

@@ -3,5 +3,6 @@
- file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
<!doctype html>
<meta charset="utf-8" />
<meta http-equiv="Content-Security-Policy" content="default-src 'none';" />
<title>Web Extension Fallback Document</title>
<h1>Your addon does not have any document opened yet.</h1>

View File

@@ -1951,7 +1951,6 @@ void nsContentSecurityUtils::AssertChromePageHasCSP(Document* aDocument) {
"chrome://browser/content/shopping/review-checker.xhtml"_ns,
"chrome://browser/content/webext-panels.xhtml"_ns,
"chrome://browser/content/webrtcIndicator.xhtml"_ns,
"chrome://devtools/content/shared/webextension-fallback.html"_ns,
"chrome://extensions/content/dummy.xhtml"_ns,
"chrome://geckoview/content/geckoview.xhtml"_ns,
"chrome://global/content/alerts/alert.xhtml"_ns,