23 Apr
2025
23 Apr
'25
2:51 p.m.
On Tue Apr 22 23:01:03 2025 +0000, Jacek Caban wrote:
This hardcodes "create" in several places across all layers, except for the XHR constructor, where the logic arguably belongs. Instead of passing "method" to `InitHostConstructor`, maybe we could pass the method’s name (or NULL for actual constructors) and use that here instead. Yeah I considered that at first too, but I realized I couldn't add non-enumerable prop without a new method. If you're fine with that or have another way I'll be happy to switch.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7779#note_101711