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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/multiple-report-policies.php

Issue 1869063003: Check all CSPs rather than exiting early if a resource is blocked (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix multiple-report-policies test Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 header("Content-Security-Policy-Report-Only: img-src http://* https://*; default -src 'self'; report-uri resources/save-report.php?test=multiple-report-policies- 1, img-src http://*; default-src 'self'; report-uri resources/save-report.php?te st=multiple-report-policies-2");
3 ?>
4 <!DOCTYPE html>
5 <html>
6 <head>
7 <script src="resources/report-test.js"></script>
8 </head>
9 <body>
10 <img src="ftp://blah.test" />
11 <iframe src="/security/contentSecurityPolicy/resources/echo-report.php?test= multiple-report-policies-1"></iframe>
12 <iframe src="/security/contentSecurityPolicy/resources/echo-report.php?test= multiple-report-policies-2"></iframe>
13 </body>
14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698