Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / loading / slow-parsing-subframe.html
blob5d02bff6ec4f4f33f306f40b72f7f1ff5d651f98
1 <html>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
7 </script>
8 <body>
9 This tests that we get frame load callbacks in the proper order when a subframe
10 is parsed and created from within a timer callback.
11 <script>
12 // Force a sleep for 1 second, to make sure the rest of the parsing is done
13 // via a timer.
14 var start = new Date()
15 var startMS = start.getTime()
16 while (true) {
17 var now = new Date()
18 if (now.getTime() - startMS > 1000) {
19 break;
22 </script>
23 <iframe name="f1" src="http://127.0.0.1:8000/misc/resources/200.html"></iframe><br>
24 </body>
25 </html>