Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-request-not-supported.html
blobdb7d24ed0fa44fab0d53b35570277e5c18c8c218
1 <body>
2 <script src="full-screen-test.js"></script>
3 <video id="video" width="300"></video>
4 <div>Tests for the fullscreenSupported setting which will be set to false
5 in those platforms where fullscreen is not supported.
6 <script>
7 if (window.internals) {
8 window.internals.settings.setFullscreenSupported(false);
10 waitForEvent(document, 'webkitfullscreenchange', function() {
11 logResult(false, 'Entered fullscreen.');
12 endTest();
13 });
14 waitForEventAndEnd(document, 'webkitfullscreenerror');
15 runWithKeyDown(function(){document.getElementById('video').webkitRequestFullScreen()});
17 </script>
18 </body>