Index: LayoutTests/fullscreen/video-controls-override.html |
diff --git a/LayoutTests/fullscreen/video-controls-override.html b/LayoutTests/fullscreen/video-controls-override.html |
index 82ce70f1648d3a6bad81ae0af4558b39617cd91e..ccf3f297c9e88bdcb471bb7c62372ea2ab6cdfa5 100644 |
--- a/LayoutTests/fullscreen/video-controls-override.html |
+++ b/LayoutTests/fullscreen/video-controls-override.html |
@@ -1,6 +1,10 @@ |
<body> |
<p>This tests that the video element's "controls" attribute is overridden in full screen mode, and that the controls are correctly hidden upon exiting full screen. Press any key to continue.</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> |