Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e84c654398d16bcc70c82d5d3580be777a70d2ef
https://github.com/WebKit/WebKit/commit/e84c654398d16bcc70c82d5d3580be777a70d2ef
Author: Jean-Yves Avenard <[email protected]>
Date: 2026-07-29 (Wed, 29 Jul 2026)
Changed paths:
M LayoutTests/platform/ios-site-isolation/TestExpectations
M Source/WebCore/platform/audio/PlatformMediaSession.cpp
M Source/WebCore/platform/audio/PlatformMediaSession.h
M Source/WebKit/UIProcess/Media/RemoteMediaSessionProxy.h
Log Message:
-----------
[site-isolation] http/wpt/mediasession/setCaptureState-audio-category.html is
a permanent failure
https://bugs.webkit.org/show_bug.cgi?id=320509
rdar://183471290
Reviewed by Youenn Fablet.
When site-isolation is enabled and a RemoteMediaSessionProxy is in use,
hasPlayedAudiblySinceLastInterruption would always return a stale value
as m_hasPlayedAudiblySinceLastInterruption is only updated in the UIProcess.
We override the RemoteMediaSessionProxy::hasPlayedAudiblySinceLastInterruption
to return the cached value provided by the UIP.
Covered by existing tests.
* LayoutTests/platform/ios-site-isolation/TestExpectations:
* Source/WebCore/platform/audio/PlatformMediaSession.h:
* Source/WebKit/UIProcess/Media/RemoteMediaSessionProxy.h:
Canonical link: https://commits.webkit.org/318151@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications