Commit 8ba93a4b authored by Thomas Guilbert's avatar Thomas Guilbert Committed by Chromium LUCI CQ

Deflake media\controls-strict.html

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

Bug: 1103820
Change-Id: If7990fcbbc2605d5512157c8aa9b91b9e0a2ba6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2561448
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@{#831957}
parent 6abd4d5a
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<script src="video-paint-test.js"></script> <script src="video-paint-test.js"></script>
<script src="media-controls.js"></script> <script src="media-controls.js"></script>
</head> </head>
<body onload="setSrcByTagName('video', 'content/test.ogv'); init()"> <body onload="setVideoSrcAndWaitForFirstFrame('content/test.ogv')">
<p>Drawing the controls in strict mode.</p> <p>Drawing the controls in strict mode.</p>
<video controls></video> <video controls></video>
</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