WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
308398
Eliminate memory allocation in TreeScope::retargetToScope
https://bugs.webkit.org/show_bug.cgi?id=308398
Summary
Eliminate memory allocation in TreeScope::retargetToScope
Ryosuke Niwa
Reported
2026-02-21 13:13:52 PST
Rewrite TreeScope::retargetToScope to avoid memory allocation. We use the same strategy as commonInclusiveAncestorAndChildren in Node.cpp.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2026-02-21 13:21:04 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59173
EWS
Comment 2
2026-02-21 21:23:14 PST
Committed
308002@main
(e57ff52d6600): <
https://commits.webkit.org/308002@main
> Reviewed commits have been landed. Closing PR #59173 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2026-02-21 21:24:11 PST
<
rdar://problem/170904981
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug