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