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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/report-uri-from-inline-javascript.html

Issue 22159002: Add 'didDispatchPingLoader' callback to FrameLoaderClient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/report-test.js"></script>
4 <meta http-equiv="Content-Security-Policy" content="img-src 'none'; report-u ri resources/save-report.php"> 5 <meta http-equiv="Content-Security-Policy" content="img-src 'none'; report-u ri resources/save-report.php">
5 </head> 6 </head>
6 <body> 7 <body>
7 <script> 8 <script>
8 // This script block will trigger a violation report. 9 // This script block will trigger a violation report.
9 var i = document.createElement('img'); 10 var i = document.createElement('img');
10 i.src = '/security/resources/abe.png'; 11 i.src = '/security/resources/abe.png';
11 document.body.appendChild(i); 12 document.body.appendChild(i);
12 </script> 13 </script>
13 <script src="resources/go-to-echo-report.js"></script> 14 <script src="resources/go-to-echo-report.js"></script>
14 </body> 15 </body>
15 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698