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

Side by Side Diff: chrome/browser/resources/content_security_policy.html

Issue 7566049: Add content-security-policy directive to print-preview pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 <!-- Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. 3 found in the LICENSE file.
4 --> 4 -->
5 <!-- X-WebKit-CSP is our development name for Content-Security-Policy. 5 <!-- X-WebKit-CSP is our development name for Content-Security-Policy.
6 TODO(tsepez) rename when Content-security-policy is done. 6 TODO(tsepez) rename when Content-security-policy is done.
7 TODO(tsepez) remove unsafe-eval when bidichecker_packaged.js fixed. 7 TODO(tsepez) remove unsafe-eval when bidichecker_packaged.js fixed.
8 TODO(tsepez) chrome-extension: permits the ChromeVox screen reader 8 TODO(tsepez) chrome-extension: permits the ChromeVox screen reader
9 extension to function on these pages. Remove it when the extension 9 extension to function on these pages. Remove it when the extension
10 is updated to stop injecting script into the pages. 10 is updated to stop injecting script into the pages.
11 --> 11 -->
12 <meta 12 <meta
13 http-equiv="X-WebKit-CSP" 13 http-equiv="X-WebKit-CSP"
14 content="object-src 'none'; 14 content="object-src 'self';
15 script-src chrome://resources 15 script-src chrome://resources
16 chrome-extension://mndnfokpggljbaajbnioimlmbfngpief 16 chrome-extension://mndnfokpggljbaajbnioimlmbfngpief
17 'self' 17 'self'
18 'unsafe-eval'"> 18 'unsafe-eval'">
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/print_preview/print_preview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698