Bug 312491
| Summary: | Event's target can get its JS wrapper GC'ed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | New Bugs | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
JSEvent doesn't add the opaque root of the target during marking phase,
resulting in its JS wrapper to get collected while Event is still reachable.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/62908
Radar WebKit Bug Importer
<rdar://problem/175439759>
EWS
Committed 312017@main (05f145f9a116): <https://commits.webkit.org/312017@main>
Reviewed commits have been landed. Closing PR #62908 and removing active labels.