[Webkit-unassigned] [Bug 222518] Reduce compile time and binary size cost of enabling proper CSSStyleDeclaration property access behavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 27 15:05:54 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=222518

--- Comment #3 from Sam Weinig <sam at webkit.org> ---
If we don't go the "make it work like named getter/setter in getPropertySlot/putPropertySlot" route, I think the ideal would be a single function for all the gets, a single function for all the sets, and somehow encoding the CSSPropertyID in the static HashTableValues and passing that value to the shared functions. Been a long while since I looked at that part of JSC, so not sure how feasible that would be.

I'm a little confused about what role the static HashTables play these days. It seems like we mostly just use a const array of HashTableValues and call reifyStaticProperty on each one as soon as we create the prototype.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210227/bf1eef9c/attachment.htm>


More information about the webkit-unassigned mailing list