On Wed Sep 7 19:35:23 2022 +0000, Gabriel Iv��ncescu wrote:
BTW sorry, I forgot to mention. I'm using an array here because I'm trying to test two windows/documents with same origin. This is to test that the events are *not* sent on native between them, for whatever reason. I initially expected them to be sent, though. From my understanding this is the point of the "standards" of these events (they aren't even supposed to be sent to same Window), but clearly IE thinks otherwise.
We can add origin to add a valid origin events.c. (We could also have those tests in JavaScript, but C is fine as well).
If it's all to test that events are not sent, then I'd say it's better to drop those parts. A comment in the code could document it as well.
For compat mode, it seems that the most interesting one those days is IE11. For additional test, just pick any <IE9 that you think is interesting in this case.