Add PropertyName parameter to custom setters to allow shared implementations to do late name lookup
Created attachment 423556 [details] Patch
Comment on attachment 423556 [details] Patch Marvelous! Saam confirmed we are OK with this. Could you please remove this comment (https://github.com/WebKit/WebKit/blob/9c1958b2b1f097707106ad5b4096a68a0d8e88f5/Source/JavaScriptCore/runtime/Lookup.h#L46-L47) on signature? The second argument isn't necessarily an object, and PropertyName is now needed. With proper DOMJIT support, we could optimize setters similarly to https://bugs.webkit.org/show_bug.cgi?id=171637 in future.
Comment on attachment 423556 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423556&action=review > Source/JavaScriptCore/ChangeLog:8 > + [WIP] Says [WIP] and r+. Something is fishy :)
(In reply to Chris Dumez from comment #3) > Says [WIP] and r+. Something is fishy :) While there is no ChangeLog, the approach was discussed in length with Sam & JSC folks; the implementation is flawless, so I went ahead with review even though there was no formal r? I am sure Sam will land with ChangeLog explaining why this change is needed, and why this approach was chosen among other options for CSSStyleDeclaration.
Created attachment 423735 [details] Patch
Created attachment 423736 [details] Patch
Committed r274724: <https://commits.webkit.org/r274724> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423736 [details].
<rdar://problem/75625592>