2 Pass if there is no crash.
5 Click anywhere to test manually.
7 if (window
.testRunner
) {
8 testRunner
.dumpAsText();
9 testRunner
.waitUntilDone();
12 function requestFullscreen()
14 document
.querySelector("span").webkitRequestFullScreen();
17 document
.addEventListener("webkitfullscreenchange", function()
19 document
.body
.contentEditable
= "true";
20 var range
= document
.createRange();
21 range
.selectNode(document
.body
);
22 document
.getSelection().addRange(range
);
23 document
.execCommand("hiliteColor", false, "#000");
24 if (window
.testRunner
) {
25 testRunner
.notifyDone();
29 document
.addEventListener("click", requestFullscreen
);
31 if (window
.eventSender
) {
32 eventSender
.mouseDown();
33 eventSender
.mouseUp();