diff options
author | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 15:34:50 +0000 |
---|---|---|
committer | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-07 15:34:50 +0000 |
commit | 4db72870c1929edfb10874c8388a130a797843e4 (patch) | |
tree | 60e743632ed894d7b40273618dd5fe9809dac5af /net | |
parent | 8534b6c46d32b4ee586744f55ed0a281b648e499 (diff) | |
download | chromium_src-4db72870c1929edfb10874c8388a130a797843e4.zip chromium_src-4db72870c1929edfb10874c8388a130a797843e4.tar.gz chromium_src-4db72870c1929edfb10874c8388a130a797843e4.tar.bz2 |
Prefer 'Content-Security-Policy' to 'X-WebKit-CSP'.
Support for the canonical CSP header landed in wkrev.com/133095. This CL
migrates the various places inside Chromium that use the prefixed header
over to the new hotness.
BUG=151857
TBR=aa@chromium.org,michaeln@chromium.org,sky@chromium.org,estade@chromium.org,kinuko@chromium.org,willchan@chromium.org,phajdan.jr@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11368048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/url_request/view_cache_helper.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/url_request/view_cache_helper.cc b/net/url_request/view_cache_helper.cc index fde3442..d468075 100644 --- a/net/url_request/view_cache_helper.cc +++ b/net/url_request/view_cache_helper.cc @@ -17,8 +17,9 @@ #include "net/url_request/url_request_context.h" #define VIEW_CACHE_HEAD \ - "<html><meta charset=\"utf-8\"><meta http-equiv=\"X-WebKit-CSP\" " \ - "content=\"object-src 'none'; script-src 'none' 'unsafe-eval'\">" \ + "<html><meta charset=\"utf-8\">" \ + "<meta http-equiv=\"Content-Security-Policy\" " \ + " content=\"object-src 'none'; script-src 'none' 'unsafe-eval'\">" \ "<body><table>" #define VIEW_CACHE_TAIL \ |