diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 21:17:27 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 21:17:27 +0000 |
commit | 9377f8296fc4ca882e8e44336d36f84e3ee10678 (patch) | |
tree | be0d31776cf16a1b53aa7fd038ed049b0a0069a6 /net/url_request | |
parent | 3203631c5af1a3ff123c589c448fcb7fb4b4889d (diff) | |
download | chromium_src-9377f8296fc4ca882e8e44336d36f84e3ee10678.zip chromium_src-9377f8296fc4ca882e8e44336d36f84e3ee10678.tar.gz chromium_src-9377f8296fc4ca882e8e44336d36f84e3ee10678.tar.bz2 |
Add content-security-policy to chrome://view-http-cache, and move scripts to head in chrome://history.
Review URL: http://codereview.chromium.org/7310009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r-- | net/url_request/view_cache_helper.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/url_request/view_cache_helper.cc b/net/url_request/view_cache_helper.cc index c5fd1f6..d6761e1 100644 --- a/net/url_request/view_cache_helper.cc +++ b/net/url_request/view_cache_helper.cc @@ -15,7 +15,9 @@ #include "net/url_request/url_request_context.h" #define VIEW_CACHE_HEAD \ - "<html><body><table>" + "<html><meta charset=\"utf-8\"><meta http-equiv=\"X-WebKit-CSP\" " \ + "content=\"object-src 'none'; script-src 'none' 'unsafe-eval'\">" \ + "<body><table>" #define VIEW_CACHE_TAIL \ "</table></body></html>" |