Clobbering window.console is not cool
[WebKit-https.git] / LayoutTests / fullscreen / full-screen-enabled.html
1 <body>
2 <div>This tests the <code>fullscreenEnabled</code> property laid out in section 4 of the W3C 
3 <a href="http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html">Full Screen API</a></div>
4 <script src="full-screen-test.js"></script>
5 <script>
6     var iframe = document.documentElement.appendChild(document.createElement('iframe'));
7     iframe.setAttribute('allowfullscreen', 'true');
8     var iframe2 = document.documentElement.appendChild(document.createElement('iframe'));
9     testExpected('iframe.contentDocument.webkitFullscreenEnabled', true);
10     testExpected('iframe2.contentDocument.webkitFullscreenEnabled', false);
11     endTest();
12 </script>