<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>183214</bug_id>
          
          <creation_ts>2018-02-28 09:45:27 -0800</creation_ts>
          <short_desc>[GTK] compositing/video/poster.html: video bar inconsistently filled after &apos;canplaythrough&apos;</short_desc>
          <delta_ts>2023-01-10 07:43:02 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alicia Boya García">aboya</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1402636</commentid>
    <comment_count>0</comment_count>
    <who name="Alicia Boya García">aboya</who>
    <bug_when>2018-02-28 09:45:27 -0800</bug_when>
    <thetext>The following test has a ImageOnlyFailure flake:

compositing/video/poster.html

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r229090%20(5649)/compositing/video/poster-diffs.html

It contains this code:

&lt;video controls id=&quot;v&quot; poster=&quot;../resources/simple_image.png&quot;&gt;&lt;/video&gt;
&lt;script&gt;
var v = document.getElementById(&quot;v&quot;);
if (window.testRunner) {
    testRunner.waitUntilDone();
    v.addEventListener(&quot;canplaythrough&quot;, function() {
        testRunner.notifyDone();
    });
}
v.setAttribute(&quot;src&quot;, findMediaFile(&quot;video&quot;, &quot;../resources/video&quot;));
&lt;/script&gt;

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

notifyDone() is called after the &quot;canplaythrough&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1924421</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-01-10 07:42:56 -0800</bug_when>
    <thetext>The test or tests filed under this bug are not failing anymore. Test expectations updated in https://commits.webkit.org/258724@main.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>