Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8338d4d31d30908f186423844c9940b3356fd897
      
https://github.com/WebKit/WebKit/commit/8338d4d31d30908f186423844c9940b3356fd897
  Author: Jean-Yves Avenard <j...@apple.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M LayoutTests/media/video-played-ranges-1-expected.txt
    M LayoutTests/media/video-played-ranges-1.html
    M LayoutTests/media/video-played.js
    M LayoutTests/platform/ios/TestExpectations
    M Source/WebCore/html/HTMLMediaElement.cpp

  Log Message:
  -----------
  HTMLMediaElement.played TimeRanges missing the last range on ended
https://bugs.webkit.org/show_bug.cgi?id=271679
rdar://125741797

Reviewed by Eric Carlson.

Added TimeRange to `played` TimeRanges once we reach the end of the media.

* LayoutTests/media/video-played-ranges-1-expected.txt:
* LayoutTests/media/video-played-ranges-1.html:
* LayoutTests/media/video-played.js:
(pause):
(ended):
(async playUntilEnded):
(videoPlayedMain):
* LayoutTests/platform/ios/TestExpectations: Remove expectation as test was 
flacky due to the use
of the GPU process and incorrect time estimation, which was fixed in 276761@main
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaPlayerTimeChanged):

Canonical link: https://commits.webkit.org/277706@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to