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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-window-open-parent.html

Issue 2346643002: Fix framebusting tests for --site-per-process (Closed)
Patch Set: 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 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.setDumpConsoleMessages(false);
6 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
7 } 8 }
8 9
9 10
10 window.onmessage = function() 11 window.onmessage = function()
11 { 12 {
12 if (window.testRunner) 13 if (window.testRunner)
13 testRunner.notifyDone(); 14 testRunner.notifyDone();
14 } 15 }
15 </script> 16 </script>
16 </head> 17 </head>
17 <body> 18 <body>
18 This test passes if there is no alert dialog.<br> 19 This test passes if there is no alert dialog.<br>
19 <iframe src="http://localhost:8080/security/resources/xss-DENIED-window-open-par ent-attacker.html"></iframe> 20 <iframe src="http://localhost:8080/security/resources/xss-DENIED-window-open-par ent-attacker.html"></iframe>
20 </body> 21 </body>
21 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698