Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-iframe-not-allowed.html
bloba8833dedbf78894db82f36504595183abbe6c275
1 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=56264">bug 56264</a>:
2 Handle entering full screen security restrictions</p>
3 <p>To test manually, click the "Go full screen" button - the page should not enter full screen mode.</p>
4 <script src="full-screen-test.js"></script>
5 <script>
6 function runTest() {
7 var frame = document.getElementById('frame');
9 waitForEvent(frame.contentDocument, 'webkitfullscreenchange', function() {
10 consoleWrite("FAIL - entered full screen!");
11 endTest();
12 });
14 waitForEventAndEnd(frame.contentDocument, 'webkitfullscreenerror', function() {
15 consoleWrite("SUCCEED - did not enter full screen!");
16 });
18 runWithKeyDown(function() {
19 frame.contentDocument.documentElement.webkitRequestFullScreen();
20 });
22 </script>
23 <iframe id="frame" src="resources/inner.html" onload="runTest()">
24 </iframe>