| <script src="full-screen-test.js"></script>
|
| <p>Test passes if it does not crash.</p>
|
| // Bail out early if the full screen API is not enabled or is missing:
|
| if (Element.prototype.webkitRequestFullScreen == undefined) {
|
| logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
|
| runWithKeyDown(function() { div1.webkitRequestFullScreen() });
|
| frameset1 = document.createElementNS("http://www.w3.org/1999/xhtml", "frameset");
|
| document.body.appendChild(frameset1);
|
| setTimeout("crash()", 0);
|
| frameset1.appendChild(div1);
|
| eventSender.keyDown("X");
|