Commit 6abd4d5a authored by Thomas Guilbert's avatar Thomas Guilbert Committed by Chromium LUCI CQ

Deflake video-colorspace* tests

This CL uses video.requestVideoFrameCallback to guarantee that a frame
is displayed on screen before ending the test.

Bug: 1099336
Change-Id: I02fa119bb20875111187da94460263a3d75e39e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2561681
Auto-Submit: Thomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831956}
parent 533fc114
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
<p>Test correct colorspace for yuv420, i.e. YU12 video </p> <p>Test correct colorspace for yuv420, i.e. YU12 video </p>
<video/> <video/>
<script> <script>
setSrcByTagName('video', 'content/test_yuv420.ogv'); setVideoSrcAndWaitForFirstFrame('content/test_yuv420.ogv');
init();
</script> </script>
</body> </body>
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
<p>Test correct colorspace for yuv422, i.e. YU16 video </p> <p>Test correct colorspace for yuv422, i.e. YU16 video </p>
<video/> <video/>
<script> <script>
setSrcByTagName('video', 'content/test_yuv422.ogv'); setVideoSrcAndWaitForFirstFrame('content/test_yuv422.ogv');
init();
</script> </script>
</body> </body>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment