ReportingObserverCallback is a JSC::Strong handle. So if the callback captures the document, directly or indirectly, it will leak the document object.
<rdar://problem/130908426>
Pull request: https://github.com/WebKit/WebKit/pull/30351
Committed 280557@main (33c1f1877fa2): <https://commits.webkit.org/280557@main> Reviewed commits have been landed. Closing PR #30351 and removing active labels.