Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b34e82c05a9094c1fa45122f847628dcec7746d6
https://github.com/WebKit/WebKit/commit/b34e82c05a9094c1fa45122f847628dcec7746d6
Author: Jean-Yves Avenard <[email protected]>
Date: 2026-03-11 (Wed, 11 Mar 2026)
Changed paths:
M LayoutTests/platform/mac-wk2/TestExpectations
M Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.h
M Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm
Log Message:
-----------
Regression: `media_fragment_seek.html` seems to fail on STP 238 but passes on
Safari 26.3
https://bugs.webkit.org/show_bug.cgi?id=309217
rdar://171917063
Reviewed by Eric Carlson.
In 303424@main we changed to set the duration only after changing the
readyState.
readyState should be set to HAVE_METADATA once the duration has been determined.
Fly-by: Don't set duration to infiniteTime if duration wasn't set in the
metadata, but default to NaN.
Re-enabled test. Covered by the existing tests. wpt.live has a more recent
version that default to webm. We'll update the wpt in a follow-up change.
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.h:
* Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm:
(WebCore::MediaPlayerPrivateWebM::updateDurationFromTrackBuffers):
(WebCore::MediaPlayerPrivateWebM::setDuration):
(WebCore::MediaPlayerPrivateWebM::didParseInitializationData):
Canonical link: https://commits.webkit.org/309089@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications