зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1497197: Apply Meta CSP to about:debugging. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D37369 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a24be842cb
Коммит
5a187ae11e
|
@ -6,6 +6,8 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Debugging</title>
|
||||
<meta http-equiv="Content-Security-Policy"
|
||||
content="default-src chrome: resource:; img-src data: chrome: resource:" />
|
||||
<link rel="icon" type="image/png" href="chrome://browser/skin/developer.svg">
|
||||
<link rel="stylesheet" href="chrome://devtools/content/aboutdebugging-new/aboutdebugging.css"/>
|
||||
<script src="resource://devtools/client/aboutdebugging-new/initializer.js"></script>
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Security-Policy"
|
||||
content="default-src chrome: resource:; img-src data: chrome: resource:" />
|
||||
<title>&aboutDebugging.fullTitle;</title>
|
||||
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="chrome://devtools/content/aboutdebugging/aboutdebugging.css" type="text/css"/>
|
||||
|
|
|
@ -2466,7 +2466,7 @@ pref("security.dialog_enable_delay", 1000);
|
|||
pref("security.notification_enable_delay", 500);
|
||||
|
||||
#if defined(DEBUG) && !defined(ANDROID)
|
||||
pref("csp.about_uris_without_csp", "blank,printpreview,srcdoc,addons,config,debugging,downloads,home,newtab,preferences,sessionrestore,sync-log,welcomeback");
|
||||
pref("csp.about_uris_without_csp", "blank,printpreview,srcdoc,addons,config,downloads,home,newtab,preferences,sessionrestore,sync-log,welcomeback");
|
||||
// the following prefs are for testing purposes only.
|
||||
pref("csp.overrule_about_uris_without_csp_whitelist", false);
|
||||
pref("csp.skip_about_page_has_csp_assert", false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче