WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
258916
Avoid unnecessary tree traversal in customElements.define
https://bugs.webkit.org/show_bug.cgi?id=258916
Summary
Avoid unnecessary tree traversal in customElements.define
Ryosuke Niwa
Reported
2023-07-06 02:50:20 PDT
customElements.define currently always traverses the entire document to find upgrade candidates. Avoid this traversal whenever possible by keeping track of the number of upgrade candidates.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2023-07-06 03:14:26 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15592
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