<?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>229433</bug_id>
          
          <creation_ts>2021-08-23 19:00:54 -0700</creation_ts>
          <short_desc>WebGL&apos;s video tests now require HTMLVideoElement.play&apos;s Promise to be reliable</short_desc>
          <delta_ts>2021-08-24 10:27:50 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebGL</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>200344</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kenneth Russell">kbr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1786642</commentid>
    <comment_count>0</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-08-23 19:00:54 -0700</bug_when>
    <thetext>As of https://github.com/KhronosGroup/WebGL/pull/3319 , Khronos&apos; WebGL conformance tests covering video-to-texture uploads require that the Promise returned from HTMLVideoElement.play be reliable. Once it&apos;s been awaited, the next texImage2D from that video element must produce a non-empty frame.

Bug 200344 covers existing issues in the promise resolution; once that&apos;s fixed, more refinement may be needed to make the revised tests pass.

For the record, Chromium implements requestVideoFrameCallback and that&apos;s why (we expect) these updated tests to pass there. Chromium doesn&apos;t yet make this guarantee about awaiting HTMLVideoElement.play&apos;s Promise - filing a bug about that now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1786643</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-08-23 19:02:34 -0700</bug_when>
    <thetext>Filed against Chromium as:

When HTMLVideoElement.play Promise resolves, texImage2D from video should return non-empty frame
https://bugs.chromium.org/p/chromium/issues/detail?id=1242760</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1786798</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-08-24 10:27:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/82298333&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>