Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-frameset.html
blob72ee9d2974b951099e5c754e3dc50bcabb2df2e3
1 <script src="full-screen-test.js"></script>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpChildFramesAsText();
6 var waitingFor = 2;
7 function runTest() {
8 if (--waitingFor)
9 return;
10 var frame = document.getElementById('frame');
12 waitForEvent(frame.contentDocument, 'webkitfullscreenchange', function() {
13 consoleWrite("FAIL - entered full screen!");
14 endTest();
15 if (testRunner)
16 testRunner.notifyDone();
17 });
19 runWithKeyDown(function() {
21 setTimeout(function() {
22 consoleWrite("SUCCEED - did not enter full screen!");
23 endTest();
24 if (testRunner)
25 testRunner.notifyDone();
26 }, 50);
28 frame.contentDocument.documentElement.webkitRequestFullScreen();
29 });
31 </script>
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()">
35 </frameset>