Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2206)

Unified Diff: chrome/browser/resources/crashes.html

Issue 7276009: Add content-security-policy directive to chrome://crashes page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/ui/webui/crashes_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/crashes.html
===================================================================
--- chrome/browser/resources/crashes.html (revision 91379)
+++ chrome/browser/resources/crashes.html (working copy)
@@ -2,11 +2,15 @@
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
+ <meta http-equiv="X-WebKit-CSP"
+ content="object-src 'none';
+ script-src chrome://resources 'self' 'unsafe-eval'">
<title i18n-content="crashesTitle"></title>
<link rel="stylesheet" href="crashes.css">
<script src="chrome://resources/js/local_strings.js"></script>
<script src="chrome://resources/js/util.js"></script>
- <script src="crashes.js"></script>
+ <script src="chrome://crashes/strings.js"></script>
+ <script src="chrome://crashes/crashes.js"></script>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<header><h1 i18n-content="crashesTitle"></h1></header>
@@ -19,5 +23,9 @@
<h2 i18n-content="disabledHeader"></h2>
<p i18n-values=".innerHTML:disabledMessage"></p>
</div>
+ <script src="chrome://resources/js/i18n_template.js"></script>
+ <script src="chrome://resources/js/i18n_process.js"></script>
+ <script src="chrome://resources/js/jstemplate_compiled.js"></script>
</body>
</html>
+
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/ui/webui/crashes_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698