OLD | NEW |
---|---|
(Empty) | |
1 <body> | |
2 <div>This tests that the <code>fullscreenEnabled</code> property is false when f ullscreen | |
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.setFullscreenEnabled(false); | |
9 | |
10 var iframe = document.documentElement.appendChild(document.createElement('if rame')); | |
philipj_slow
2014/08/04 09:24:13
You don't need an iframe to test this, just testin
Ignacio Solla
2014/08/04 11:43:33
I need it, 'allowfullscreen' is not a property of
philipj_slow
2014/08/04 12:18:51
For a top-level document, webkitFullscreenEnabled
| |
11 iframe.setAttribute('allowfullscreen', 'true'); | |
12 testExpected('iframe.contentDocument.webkitFullscreenEnabled', false); | |
13 endTest(); | |
14 </script> | |
15 </body> | |
OLD | NEW |