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.