Bug 225822

Summary: MediaSessionCoordinator survives page reload/navigation
Product: WebKit Reporter: Jer Noble <jer.noble>
Component: New BugsAssignee: Jer Noble <jer.noble>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, philipj, sergio, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing
ews-feeder: commit-queue-
Patch for landing none

Description Jer Noble 2021-05-14 14:07:25 PDT
MediaSessionCoordinator survives page reload/navigation
Comment 1 Jer Noble 2021-05-14 14:27:36 PDT
Created attachment 428659 [details]
Patch
Comment 2 Eric Carlson 2021-05-14 14:55:50 PDT
Comment on attachment 428659 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=428659&action=review

> Source/WebCore/Modules/mediasession/MediaSessionCoordinator.cpp:367
> -    m_session->callActionHandler({ .action = MediaSessionAction::Play });
> +    m_session->callActionHandler({ .action = MediaSessionAction::Pause });

:-O
Comment 3 Jer Noble 2021-05-14 15:03:05 PDT
Created attachment 428666 [details]
Patch for landing
Comment 4 Jer Noble 2021-05-14 15:31:19 PDT
Created attachment 428673 [details]
Patch for landing
Comment 5 Jer Noble 2021-05-16 13:32:41 PDT
Committed r277573 (237801@main): <https://commits.webkit.org/237801@main>
Comment 6 Radar WebKit Bug Importer 2021-05-16 13:33:16 PDT
<rdar://problem/78082780>
Comment 7 youenn fablet 2021-05-17 00:50:10 PDT
Reopening to attach new patch.