We don't currently have a test to ensure that when the MediaSessionCoordinatorPrivate in the UI process is disconnected or switch to the closed state that the MediaSessionCoordinator in the web process properly signals JS that the session got closed. Let's add a test for it.
<rdar://problem/78801408>
Created attachment 430447 [details] Patch
Comment on attachment 430447 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=430447&action=review > Source/WebCore/ChangeLog:12 > + * Modules/mediasession/MediaSessionCoordinatorPrivate.h: Add coordinatorStateChanged method, > + will forward state to RemoteMediaSessionCoordinatorProxy::coordinatorStateChanged. Nit: this comment isn't accurate.
Committed r278423 (238447@main): <https://commits.webkit.org/238447@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430447 [details].