| <script src="full-screen-test.js"></script> |
| testRunner.dumpAsText(true); |
| testRunner.waitUntilDone(); |
| var fullscreen = document.getElementById('fullscreenme'); |
| var fullscreenChangeEvent = function(event) { |
| document.addEventListener('webkitfullscreenchange', fullscreenChangeEvent); |
| document.addEventListener('keydown', function () { |
| fullscreen.webkitRequestFullScreen(); |
| eventSender.keyDown('a'); |
| if ("webkitRequestFullScreen" in Element.prototype) |
| window.addEventListener("load", doTest, false); |
| <!-- when full screening the iframe, bad should not be visible --> |
| <div id="fixed-container"> |
| <iframe id="fullscreenme" src="resources/green.html"></iframe> |