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

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

Issue 7395022: Merge 91152 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 5 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.layoutTestController) { 4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText(); 5 layoutTestController.dumpAsText();
6 layoutTestController.waitUntilDone(); 6 layoutTestController.waitUntilDone();
7 } 7 }
8 8
9 9
10 window.onmessage = function() 10 window.onmessage = function()
11 { 11 {
12 if (window.layoutTestController) 12 if (window.layoutTestController)
13 layoutTestController.notifyDone(); 13 layoutTestController.notifyDone();
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body> 17 <body>
18 This test passes if there is no alert dialog.<br> 18 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> 19 <iframe src="http://localhost:8080/security/resources/xss-DENIED-window-open-par ent-attacker.html"></iframe>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698