On Sun Sep 7 12:12:12 2025 +0000, Jacek Caban wrote:
Do you expect more cases like this? It feels a bit like forcing our way through abstraction layers with things like vtbl checks. We could perhaps do that, but I wonder if we could just skip `VT_DISPATCH` here and have `HTMLPerformance_toJSON` perform those `toJSON` and `DefineProperty` calls for object properties instead.
I'm not aware of anything else that will need this, and yeah I hardcoded it in `HTMLPerformance_toJSON`. I also fixed it leaking when the return value was not used.