Bug 271748
| Summary: | Avoid tree traversal in FrameSelection::nodeWillBeRemoved in most cases | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
In most cases, node being removed doesn't contain a selection start/end/base/extent/focus/anchor.
Avoid O(n) tree walk in those cases.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/26502
EWS
Committed 276766@main (f5e6dd1893d0): <https://commits.webkit.org/276766@main>
Reviewed commits have been landed. Closing PR #26502 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/125526985>
EWS
Committed 272448.839@safari-7618-branch (75732b85bc84): <https://commits.webkit.org/272448.839@safari-7618-branch>
Reviewed commits have been landed. Closing PR #1163 and removing active labels.