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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.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 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
8 window.onload = function() {
9 testRunner.notifyDone();
10 };
11 }
7 </script> 12 </script>
8 </head> 13 </head>
9 <body> 14 <body>
10 <iframe src="http://127.0.0.1:8000/security/contentSecurityPolicy/resources/ja vascript-url.pl?should_run=yes&csp=allow%20*%3B"></iframe> 15 <iframe src="http://127.0.0.1:8000/security/contentSecurityPolicy/resources/ja vascript-url.pl?should_run=yes&csp=allow%20*%3B"></iframe>
11 </body> 16 </body>
12 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698