Bug 238426

Summary: Optimize toJS() for HTMLElements
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: BindingsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, changseok, darin, esprehn+autocc, ews-watchlist, ggaren, gyuyoung.kim, kondapallykalyan, sam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>