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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/csp-header-is-sent.html

Issue 1009583003: Add CSP header for resources with an active policy (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: consider plugin-types for sending CSP header on plugin requests Created 5 years, 9 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
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta http-equiv="Content-Security-Policy" content="script-src http://127.0. 0.1:8000/">
5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script>
7 <!-- This sets 'script_loaded' to true if the CSP header is present. -->
Mike West 2015/03/20 14:53:54 Nit: Can you add a negative test as well, verifyin
estark 2015/03/20 20:27:52 csp-header-is-sent.js already sends an XHR and che
Mike West 2015/03/21 11:33:39 You're right. I should have looked more carefully
8 <script src="resources/test-csp-header.pl"></script>
9 <script src="resources/csp-header-is-sent.js"></script>
10 </head>
11 <body>
12 </body>
13 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698