Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / misc / window-dot-stop.html
1 <html>
2 <script>
3     if (window.testRunner) {
4         testRunner.dumpResourceLoadCallbacks();
5         testRunner.waitUntilDone();
6     }
7 </script>
8 <body>
9 This tests for the successful use of window.stop()<br>
10 <iframe src="http://127.0.0.1:8000/incremental/slow-utf8-text.pl"></iframe><br>
11 <script>
12 if (window.testRunner) {
13     testRunner.dumpAsText();
14     setTimeout("testRunner.notifyDone()", 0); 
15 }
16 window.stop();
17 </script>
18 TEST FAILED:  If window.stop() works, you shouldn't be able to see this and the above iframe should not have loaded.
19 </body>
20 </html>