[Webkit-unassigned] [Bug 229433] New: WebGL's video tests now require HTMLVideoElement.play's Promise to be reliable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 23 19:00:54 PDT 2021


            Bug ID: 229433
           Summary: WebGL's video tests now require
                    HTMLVideoElement.play's Promise to be reliable
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kbr at google.com
                CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
        Depends on: 200344

As of https://github.com/KhronosGroup/WebGL/pull/3319 , Khronos' WebGL conformance tests covering video-to-texture uploads require that the Promise returned from HTMLVideoElement.play be reliable. Once it'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's fixed, more refinement may be needed to make the revised tests pass.

For the record, Chromium implements requestVideoFrameCallback and that's why (we expect) these updated tests to pass there. Chromium doesn't yet make this guarantee about awaiting HTMLVideoElement.play's Promise - filing a bug about that now.

Referenced Bugs:

[Bug 200344] HTMLVideoElement play promise never finishes
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210824/07afc35a/attachment-0001.htm>

More information about the webkit-unassigned mailing list