[email protected] | 6db520f | 2014-08-05 20:22:59 | [diff] [blame] | 1 | <body> |
| 2 | <div>This tests that the <code>fullscreenEnabled</code> property is false when fullscreen |
| 3 | is not supported as laid out in section 4 of the |
| 4 | <a href="http://fullscreen.spec.whatwg.org/#api">Fullscreen API</a> living |
| 5 | standard</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> |