Bug 1953866 - Add a strict script-src CSP to browser.xhtml for Nightly/Beta. r=freddyb,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D242273
This commit is contained in:
@@ -30,7 +30,11 @@
|
||||
data-l10n-sync="true">
|
||||
<head>
|
||||
<!-- CSP might be disabled by C++ code. -->
|
||||
#if defined(EARLY_BETA_OR_EARLIER)
|
||||
<meta http-equiv="Content-Security-Policy" content="script-src chrome: moz-src: resource: 'report-sample'" />
|
||||
#else
|
||||
<meta http-equiv="Content-Security-Policy" content="script-src-attr 'none' 'report-sample'" />
|
||||
#endif
|
||||
|
||||
<!-- The "global.css" stylesheet is imported first to allow other stylesheets to
|
||||
override rules using selectors with the same specificity. This applies to
|
||||
|
||||
Reference in New Issue
Block a user