On Wed Sep 7 22:58:01 2022 +0000, Jacek Caban wrote:
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.
*(Gitlab's reply via email seems a bit borked right now, so I apologize if the messages will be repeated if it solves itself, but here it is)*
Wait, I'm struggling a bit, how do you add a (fake) origin without a custom pluggable protocol? (which is in script.c)
I don't mind testing it from JS, and I'll do that with iframe, but I wanted to test parallel docs with same origin, where events are not sent between them.