Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7df9b18a84da5e36af626e2c4a027417413de3d9
https://github.com/WebKit/WebKit/commit/7df9b18a84da5e36af626e2c4a027417413de3d9
Author: Fujii Hironori <[email protected]>
Date: 2026-01-05 (Mon, 05 Jan 2026)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M Source/WebCore/Modules/mediasource/MediaSource.cpp
Log Message:
-----------
REGRESSION(274853@main): nullopt dereference of m_seekTargetPromise in
MediaSource::waitForTarget for
imported/w3c/web-platform-tests/media-source/mediasource-seek-beyond-duration.html
https://bugs.webkit.org/show_bug.cgi?id=304834
Reviewed by Alicia Boya Garcia.
In MediaSource::waitForTarget, m_seekTargetPromise could be nullopt. Get the
promise of it earlier immediately after it is emplaced. This change fixes the
crash bug, but not fixes the test failure yet.
Tests:
imported/w3c/web-platform-tests/media-source/mediasource-seek-beyond-duration.html
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::waitForTarget):
Canonical link: https://commits.webkit.org/305103@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications