On Tue Nov 19 19:53:22 2024 +0000, Gabriel Ivăncescu wrote:
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.
I guess it depends on the actual implementation, but I'd expect a single way of handling todos (that is replacing your current logic instead of having two mechanisms for the same thing) to be nicer.