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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html

Issue 221673003: Defer iframe JavaScript URL evaluation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 <meta http-equiv="Content-Security-Policy" content="script-src http://127.0.0.1: *; options goofy"> 4 <meta http-equiv="Content-Security-Policy" content="script-src http://127.0.0.1: *; options goofy">
5 <script src="resources/dump-as-text.js"></script> 5 <script src="resources/dump-as-text.js"></script>
6 <script src="resources/wait-until-loaded.js"></script>
6 </head> 7 </head>
7 This test passes if it doesn't alert fail. 8 This test passes if it doesn't alert fail.
8 <iframe src="javascript:alert('FAIL')"></iframe> 9 <iframe src="javascript:alert('FAIL')"></iframe>
9 </body> 10 </body>
10 </html> 11 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698