OLD | NEW |
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> |
OLD | NEW |