Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / video-fail-to-enter-full-screen.html
blob55c0eedca283ba7f261a122bec79469b43700c30
1 <!DOCTYPE html>
2 <p>This tests that the video should not be rendered in full screen if requestFullScreen() fails.</p>
3 <video id="video" width="300"></video>
4 <script>
5 if (window.internals)
6 runPixelTests = internals.runtimeFlags.forceOverlayFullscreenVideoEnabled;
7 </script>
8 <script src="full-screen-test.js"></script>
9 <script src="../media/media-controls.js"></script>
10 <script>
11 var video = document.getElementById('video');
12 video.webkitRequestFullScreen();
13 setTimeout(function() {
14 endTest();
15 }, 300);
16 </script>