Bug 225822 - MediaSessionCoordinator survives page reload/navigation
Summary: MediaSessionCoordinator survives page reload/navigation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-14 14:07 PDT by Jer Noble
Modified: 2021-05-17 00:50 PDT (History)
7 users (show)

See Also:


Attachments
Patch (36.97 KB, patch)
2021-05-14 14:27 PDT, Jer Noble
no flags Details | Formatted Diff | Diff
Patch for landing (37.01 KB, patch)
2021-05-14 15:03 PDT, Jer Noble
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch for landing (37.04 KB, patch)
2021-05-14 15:31 PDT, Jer Noble
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.