[Webkit-unassigned] [Bug 279055] New: [HTMLMediaElement] Reschedule timeupdate event if fired too early

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 3 05:34:15 PDT 2024


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

            Bug ID: 279055
           Summary: [HTMLMediaElement] Reschedule timeupdate event if
                    fired too early
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eocanha at igalia.com

HTMLMediaElement fires 'timeupdate' every 250ms in repeating timer. If the  
timer is fired before 250ms from the last occurrence, it is silently skipped
and needs to wait for another 250ms. As a result, the gap between two
following timeupdate events may vary 250-500ms.

This may happen in two cases:

1) Non-periodic timeupdate event is scheduled for any reason.
2) When the difference between two timer calls is lower than 250ms. This may
happen when there are multiple timers to handle at the same time in
ThreadTimers (maxDurationOfFiringTimers).

See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1392

-- 
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/20240903/9de30899/attachment.htm>


More information about the webkit-unassigned mailing list