On Wed Dec 4 15:51:23 2024 +0000, Gabriel Ivăncescu wrote:
Yeah, it has to match what's available, else the DISPIDs would simply point to a builtin func that doesn't exist (i.e. `get_builtin_func` will fail).
Could we just skip the search in `CSSStyle_get_dispid` if the name does not contain '-' or something similar? The thing we probably want to check is if the same is the same as the regular accessor property name. Prior to prototypes support, it would never be the case as the builtin property would be found first. Unless I'm missing something, those differ only when there is '-' involved.