[EFL][DRT] Gardening failure cases on EFL build bot
[WebKit-https.git] / LayoutTests / loader / load-defer-resume-crash.html
1 <html>
2 <script>
3 if (window.layoutTestController) {
4     layoutTestController.dumpAsText();
5     layoutTestController.waitUntilDone();
6 }
7
8 function run() {
9     var frameElement = document.createElement('iframe')
10     frameElement.setAttribute("src", "resources/images.html");
11     document.getElementById("frameDiv").appendChild(frameElement);
12     if (window.layoutTestController) {
13         layoutTestController.setDefersLoading(true);
14         setTimeout("layoutTestController.setDefersLoading(false);layoutTestController.notifyDone();",1000);
15     } else
16         alert("Deferring loads");
17 }
18
19 </script>
20 <body onload='run()'>
21 <p>For the test to pass there should be no crash.</p>
22 <div id="frameDiv"></div>
23 </body>
24 </html>