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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html

Issue 2490943002: Block 'javascript:' navigation in the correct document. (Closed)
Patch Set: feedback Created 4 years, 1 month 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 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 </script>
8 </head>
9 <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>
11 </body>
12 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698