Bug 311692
| Summary: | Node::removeAllEventListeners() enumerates event listeners *after* removing them | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | DOM | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Node::removeAllEventListeners() enumerates event listeners *after* removing them. This means the call to `enumerateEventListenerTypes()` was a no-op and it would fail to reset certain event listener counters on the Document object.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/62237
EWS
Committed 310808@main (823e44ce851a): <https://commits.webkit.org/310808@main>
Reviewed commits have been landed. Closing PR #62237 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/174366209>