[Webkit-unassigned] [Bug 206512] New: Video HTML tag fails to fire 'ended' event on Windows when video reaches end

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 20 14:28:12 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=206512

            Bug ID: 206512
           Summary: Video HTML tag fails to fire 'ended' event on Windows
                    when video reaches end
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: herb at hlmjr.com

Created attachment 388256

  --> https://bugs.webkit.org/attachment.cgi?id=388256&action=review

Test case demonstrating behavior

This occurs for me building WinCairo port, webkit trunk (revision 254831), but has been the case for quite some time (year+ as it presents in QtWebKit 5.212).

Attaching a Javascript callback to the ended event of a video tag and letting the video play through results in the event never getting called. A test case is attach that plays a 15 second video and writes "Fired" to console.log() on ended. Opening the inspector, going to the console, and playing the video never results in the "Fired" message.

I made an attempt to patch it that gets the event to fire, but somehow breaks the duration calculation. I've attached it in case it helps narrow down where to start looking for the problem.

-- 
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/20200120/f336e8fe/attachment.htm>


More information about the webkit-unassigned mailing list