blob: aed847b3dc95924b11220b3eaf749edd70a72188 [file] [log] [blame]
<!DOCTYPE html>
<p>This tests that the video should not be rendered in full screen if requestFullScreen() fails.</p>
<video id="video" width="300"></video>
<script>
if (window.internals)
runPixelTests = internals.runtimeFlags.overlayFullscreenVideoEnabled;
</script>
<script src="full-screen-test.js"></script>
<script src="../media/media-controls.js"></script>
<script>
var video = document.getElementById('video');
video.webkitRequestFullScreen();
setTimeout(function() {
endTest();
}, 300);
</script>