Bug 276344

Summary: RemotePlayback watchAvailability callback can leak the Document object.
Product: WebKit Reporter: Ryan Reno <rreno>
Component: MediaAssignee: Ryan Reno <rreno>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 276167    

Ryan Reno
Reported 2024-07-08 17:40:24 PDT
The RemotePlayback watchAvailability callback is only cleared if cancelWatchAvailability is called by the web author. We should clear the registered callbacks that haven't fired or been cancelled yet when Active DOM objects are stopped.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-08 17:40:35 PDT
Ryan Reno
Comment 2 2024-07-08 17:43:10 PDT
EWS
Comment 3 2024-07-09 17:50:25 PDT
Committed 280799@main (f288b9088d1b): <https://commits.webkit.org/280799@main> Reviewed commits have been landed. Closing PR #30586 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.