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