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:
@@ -3,5 +3,6 @@
|
|||||||
- file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
|
- file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
<meta http-equiv="Content-Security-Policy" content="default-src 'none';" />
|
||||||
<title>Web Extension Fallback Document</title>
|
<title>Web Extension Fallback Document</title>
|
||||||
<h1>Your addon does not have any document opened yet.</h1>
|
<h1>Your addon does not have any document opened yet.</h1>
|
||||||
|
|||||||
@@ -1951,7 +1951,6 @@ void nsContentSecurityUtils::AssertChromePageHasCSP(Document* aDocument) {
|
|||||||
"chrome://browser/content/shopping/review-checker.xhtml"_ns,
|
"chrome://browser/content/shopping/review-checker.xhtml"_ns,
|
||||||
"chrome://browser/content/webext-panels.xhtml"_ns,
|
"chrome://browser/content/webext-panels.xhtml"_ns,
|
||||||
"chrome://browser/content/webrtcIndicator.xhtml"_ns,
|
"chrome://browser/content/webrtcIndicator.xhtml"_ns,
|
||||||
"chrome://devtools/content/shared/webextension-fallback.html"_ns,
|
|
||||||
"chrome://extensions/content/dummy.xhtml"_ns,
|
"chrome://extensions/content/dummy.xhtml"_ns,
|
||||||
"chrome://geckoview/content/geckoview.xhtml"_ns,
|
"chrome://geckoview/content/geckoview.xhtml"_ns,
|
||||||
"chrome://global/content/alerts/alert.xhtml"_ns,
|
"chrome://global/content/alerts/alert.xhtml"_ns,
|
||||||
|
|||||||
Reference in New Issue
Block a user