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

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

Issue 7215034: Apply CSP to chrome: and about: pages (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/resources/about_stats.js ('k') | chrome/browser/resources/about_version.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/about_version.html
===================================================================
--- chrome/browser/resources/about_version.html (revision 90431)
+++ chrome/browser/resources/about_version.html (working copy)
@@ -7,6 +7,7 @@
<html id="t">
<head>
<title i18n-content="title"></title>
+ <meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src chrome://resources 'self' 'unsafe-eval'">
<style>
body {
font-family:Helvetica,Arial,sans-serif;
@@ -61,6 +62,8 @@
max-width: 430px;
}
</style>
+ <script src="chrome://version/version.js"></script>
+ <script src="chrome://version/strings.js"></script>
</head>
<body>
@@ -100,6 +103,9 @@
</tr>
</table>
</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/resources/about_stats.js ('k') | chrome/browser/resources/about_version.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698