OLD | NEW |
| 1 <!DOCTYPE html> |
1 <script src="../resources/js-test.js"></script> | 2 <script src="../resources/js-test.js"></script> |
2 <script> | 3 <script> |
3 if (window.testRunner) { | 4 if (window.testRunner) { |
4 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
5 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
6 } | 7 } |
7 | 8 |
8 function runWithKeyDown(fn) | 9 function runWithKeyDown(fn) |
9 { | 10 { |
10 document.addEventListener('keydown', function() { fn(); }, false); | 11 document.addEventListener('keydown', function() { fn(); }, false); |
(...skipping 21 matching lines...) Expand all Loading... |
32 if (window.testRunner) { | 33 if (window.testRunner) { |
33 testRunner.notifyDone(); | 34 testRunner.notifyDone(); |
34 } | 35 } |
35 }, 0); | 36 }, 0); |
36 }, 0); | 37 }, 0); |
37 element.webkitRequestFullScreen(); | 38 element.webkitRequestFullScreen(); |
38 shouldNotBe("document.webkitFullscreenElement", "null"); | 39 shouldNotBe("document.webkitFullscreenElement", "null"); |
39 } | 40 } |
40 </script> | 41 </script> |
41 <body onload="init()"> | 42 <body onload="init()"> |
42 <iframe webkitallowfullscreen src="resources/inner.html" id="block1"></ifram
e> | 43 <iframe allowfullscreen src="resources/inner.html" id="block1"></iframe> |
43 PASS | 44 PASS |
44 </body> | 45 </body> |
OLD | NEW |