blob: b173011472def7e040ff62d62b565f4af47c7490 [file] [log] [blame]
[email protected]6db520f2014-08-05 20:22:591<body>
2<div>This tests that the <code>fullscreenEnabled</code> property is false when fullscreen
3is not supported as laid out in section 4 of the
4<a href="http://fullscreen.spec.whatwg.org/#api">Fullscreen API</a> living
5standard</div>
6<script src="full-screen-test.js"></script>
7<script>
8 window.internals.settings.setFullscreenSupported(false);
9
10 testExpected('document.webkitFullscreenEnabled', false);
11
12 var iframe = document.documentElement.appendChild(document.createElement('iframe'));
13 iframe.setAttribute('allowfullscreen', 'true');
14 testExpected('iframe.contentDocument.webkitFullscreenEnabled', false);
15 endTest();
16</script>
17</body>