Bug 238426 - Optimize toJS() for HTMLElements
Summary: Optimize toJS() for HTMLElements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-27 16:19 PDT by Chris Dumez
Modified: 2022-03-28 07:24 PDT (History)
11 users (show)

See Also:


Attachments
Patch (2.91 KB, patch)
2022-03-27 16:20 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2022-03-27 16:19:18 PDT
Optimize toJS() for HTMLElements. Previously, the more generic Element's toJS() would be called, which would have to do more checks.
Comment 1 Chris Dumez 2022-03-27 16:20:50 PDT
Created attachment 455870 [details]
Patch
Comment 2 Yusuke Suzuki 2022-03-28 05:10:34 PDT
Comment on attachment 455870 [details]
Patch

r=me
Comment 3 EWS 2022-03-28 07:23:30 PDT
Committed r291964 (248929@main): <https://commits.webkit.org/248929@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 455870 [details].
Comment 4 Radar WebKit Bug Importer 2022-03-28 07:24:15 PDT
<rdar://problem/90920770>