OLD | NEW |
1 <script src="full-screen-test.js"></script> | 1 <script src="full-screen-test.js"></script> |
2 <script> | 2 <script> |
3 if (window.testRunner) | 3 if (window.testRunner) |
4 testRunner.dumpChildFramesAsText(); | 4 testRunner.dumpChildFramesAsText(); |
5 | 5 |
6 var waitingFor = 2; | 6 var waitingFor = 2; |
7 function runTest() { | 7 function runTest() { |
8 if (--waitingFor) | 8 if (--waitingFor) |
9 return; | 9 return; |
10 var frame = document.getElementById('frame'); | 10 var frame = document.getElementById('frame'); |
(...skipping 13 matching lines...) Expand all Loading... |
24 if (testRunner) | 24 if (testRunner) |
25 testRunner.notifyDone(); | 25 testRunner.notifyDone(); |
26 }, 50); | 26 }, 50); |
27 | 27 |
28 frame.contentDocument.documentElement.webkitRequestFullScreen(); | 28 frame.contentDocument.documentElement.webkitRequestFullScreen(); |
29 }); | 29 }); |
30 } | 30 } |
31 </script> | 31 </script> |
32 <frameset rows="150,*"> | 32 <frameset rows="150,*"> |
33 <frame name="header" src="resources/not-allowed.html" webkitfullscreenallowe
d onload="runTest()"> | 33 <frame name="header" src="resources/not-allowed.html" webkitfullscreenallowe
d onload="runTest()"> |
34 <frame id="frame" src="resources/inner.html" onload="runTest()"> | 34 <frame id="frame" name="frame" src="resources/inner.html" onload="runTest()"
> |
35 </frameset> | 35 </frameset> |
OLD | NEW |