RESOLVED FIXED271505
getCachedWrapper always does HashMap lookup when the wrapper doesn't exist
https://bugs.webkit.org/show_bug.cgi?id=271505
Summary getCachedWrapper always does HashMap lookup when the wrapper doesn't exist
Ryosuke Niwa
Reported 2024-03-22 17:28:07 PDT
WebCore::getCachedWrapper always does the HashMap lookup even for objects which inherits from ScriptWrappable for the main world. We should avoid this lookup when an object inherits from ScriptWrappable for the main world.
Attachments
Ryosuke Niwa
Comment 1 2024-03-22 17:32:00 PDT
EWS
Comment 2 2024-03-22 21:31:41 PDT
Committed 276583@main (de25b66294c4): <https://commits.webkit.org/276583@main> Reviewed commits have been landed. Closing PR #26355 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-03-22 21:32:13 PDT
Note You need to log in before you can comment on or make changes to this bug.