Bug 256334 - MediaSession should keep its action handlers alive
Summary: MediaSession should keep its action handlers alive
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryan Reno
URL:
Keywords: InRadar
Depends on: 256488
Blocks:
  Show dependency treegraph
 
Reported: 2023-05-04 14:34 PDT by Ryan Reno
Modified: 2023-05-08 14:31 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Reno 2023-05-04 14:34:07 PDT
The MediaSessionActionHandler now holds a weak reference to its callback so when the MediaSession is visited it should mark any action handlers that have been added to it.
Comment 1 Radar WebKit Bug Importer 2023-05-04 14:35:48 PDT
<rdar://problem/108913983>
Comment 2 Ryan Reno 2023-05-04 14:37:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13459
Comment 3 EWS 2023-05-05 06:54:47 PDT
Committed 263715@main (0743137c2f4f): <https://commits.webkit.org/263715@main>

Reviewed commits have been landed. Closing PR #13459 and removing active labels.
Comment 4 WebKit Commit Bot 2023-05-08 14:31:18 PDT
Re-opened since this is blocked by bug 256488