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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture.html

Issue 2092293002: Block framebusts without a user gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better flag description Created 4 years, 3 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
1 <!DOCTYPE html>
2 <html> 1 <html>
3 <head> 2 <head>
4 <script> 3 <script>
5 if (window.testRunner) { 4 if (window.testRunner) {
6 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText(); 6 testRunner.dumpChildFramesAsText();
8 } 7 }
9 </script> 8 </script>
10 </head> 9 </head>
11 <body> 10 <body>
12 <iframe sandbox src="data:text/html,<noscript>PASS</noscript>"> 11 <iframe src="http://localhost:8000/security/frameNavigation/resources/iframe-tha t-performs-top-navigation-without-user-gesture.html"></iframe>
13 </iframe>
14 </body> 12 </body>
15 </html> 13 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698