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

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

Issue 7038046: Insert meta tag turning on content-security-protection for chrome://settings, history, downloads ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
Index: chrome/browser/resources/options/options.html
===================================================================
--- chrome/browser/resources/options/options.html (revision 86155)
+++ chrome/browser/resources/options/options.html (working copy)
@@ -4,6 +4,9 @@
id="t">
<head>
<meta charset="utf-8">
+<!-- X-WebKit-CSP is our development name for Content-Security-Policy.
+ TODO(tsepez) rename when Content-security-policy is done. -->
+<meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src chrome://resources chrome://settings">
<!-- Set the title to that of the default page so that the title doesn't flash
on load (for the most common case). -->
<title i18n-content="browserPageTabTitle"></title>
« chrome/browser/resources/downloads.js ('K') | « chrome/browser/resources/history.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698