Bug 183214

Summary: [GTK] compositing/video/poster.html: video bar inconsistently filled after 'canplaythrough'
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Alicia Boya García 2018-02-28 09:45:27 PST
The following test has a ImageOnlyFailure flake:



It contains this code:

<video controls id="v" poster="../resources/simple_image.png"></video>
var v = document.getElementById("v");
if (window.testRunner) {
    v.addEventListener("canplaythrough", function() {
v.setAttribute("src", findMediaFile("video", "../resources/video"));

The video poster looks perfectly fine, the problem is with the controls; particularly the bar.

notifyDone() is called after the "canplaythrough" event. At that point, enough video should be buffered for smooth playback, but most of the time when the screenshot is taken the bar is still empty.