Reducing the amount of time this test waits for the frame to fully
[WebKit-https.git] / LayoutTests / fast / events / focusingUnloadedFrame.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
2 "http://www.w3.org/TR/html4/frameset.dtd"> 
3 <html>
4 <head>
5
6
7 <script>
8 function step2() {
9     var modifiers = ["altKey"];
10     eventSender.keyDown("\t", modifiers);
11     eventSender.keyDown("\t", modifiers);
12     window.layoutTestController.notifyDone();
13 }
14
15 function foo() {
16     if (!window.layoutTestController)
17         return;
18     
19     window.layoutTestController.waitUntilDone();
20     window.setTimeout('step2()', 100);
21 }
22
23
24 </script>
25
26 </head>
27 <body onload="foo()">
28 <frameset>
29     <frame src="resources/frontpage.html">  <!-- A page containing a link -->
30     <frame src="resources/notfound.html">         <!-- A page that can't be found -->
31 </frameset>
32
33 </body>
34 </html>