Bug 276500
Summary: | ReportingObserver can be kept alive longer than necessary. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryan Reno <rreno> |
Component: | DOM | Assignee: | Ryan Reno <rreno> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ryan Reno
ReportingObserver has GenerateIsReachable=ImplScriptExecutionContext which keeps it alive for as long as the ScriptExecutionContext, even if all references to it from JS code are lost. We should tighten the lifetime to be for at least as long as it is observing reports instead.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/131559195>
Ryan Reno
Pull request: https://github.com/WebKit/WebKit/pull/30713
EWS
Committed 280886@main (9e0be5271487): <https://commits.webkit.org/280886@main>
Reviewed commits have been landed. Closing PR #30713 and removing active labels.