| <html> | |
| <head> | |
| </head> | |
| <body> | |
| <script> | |
| if (window.testRunner) { | |
| testRunner.dumpAsText(); | |
| testRunner.waitUntilDone(); | |
| } | |
| var a = window.open("about:blank","moonshine") | |
| function mountainGoat() { | |
| a.window.eval('setTimeout("try { window.open(\'http://invalid:url\'); alert(\'FAIL\'); } catch(ex) { alert(\'PASS\'); }; if (window.testRunner) testRunner.notifyDone()", 0)') | |
| } | |
| setTimeout("mountainGoat()", 0) | |
| </script> | |
| </body> | |
| </html> |