Bug 276080

Summary: ReportingObserverCallbacks can leak the Document object
Product: WebKit Reporter: Ryan Reno <rreno>
Component: BindingsAssignee: Ryan Reno <rreno>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ryan Reno
Reported 2024-07-01 11:05:49 PDT
ReportingObserverCallback is a JSC::Strong handle. So if the callback captures the document, directly or indirectly, it will leak the document object.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-01 11:06:01 PDT
Ryan Reno
Comment 2 2024-07-01 11:12:13 PDT
EWS
Comment 3 2024-07-01 16:32:33 PDT
Committed 280557@main (33c1f1877fa2): <https://commits.webkit.org/280557@main> Reviewed commits have been landed. Closing PR #30351 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.