1 <script src=
"full-screen-test.js"></script>
4 testRunner
.dumpChildFramesAsText();
10 var frame
= document
.getElementById('frame');
12 waitForEvent(frame
.contentDocument
, 'webkitfullscreenchange', function() {
13 consoleWrite("FAIL - entered full screen!");
16 testRunner
.notifyDone();
19 runWithKeyDown(function() {
21 setTimeout(function() {
22 consoleWrite("SUCCEED - did not enter full screen!");
25 testRunner
.notifyDone();
28 frame
.contentDocument
.documentElement
.webkitRequestFullScreen();
32 <frameset rows=
"150,*">
33 <frame name=
"header" src=
"resources/not-allowed.html" onload=
"runTest()">
34 <frame id=
"frame" name=
"frame" src=
"resources/inner.html" allowfullscreen
onload=
"runTest()">