On Tue Nov 19 19:39:13 2024 +0000, Jacek Caban wrote:
I replied too soon, for version-specific cases, it may be more convenient to just do it in-place instead of the concatenation above, that would be:
check(MessageEvent, ["data", "initMessageEvent", "origin", v >= 10 ? "ports" : null, "source"]);
OK i will try to split this into functions, but ideally I'll keep the version check in the array/data because some objects will have a lot of them (some are specific to some IE versions only too, like IE9-only), and this will balloon up the test and make it worse, IMO.
For the "todos" arg I only include the extra props that wine exposes, right? The others I can keep using existing logic. I mean I have to separate them somehow, because for the extra-wine-props I must not test them on Windows, but the others exist on Windows.