On Tue Feb 7 01:50:24 2023 +0000, Jacek Caban wrote:
What events are not delayed? I'm trying to understand why we need to worry about events initiated by Gecko.
From what I can see, Gecko only suppresses events that reach the document. So, all nodes (and thus elements) linked to the document. The ones unlinked won't generate any events, anyway, so that's fine.
It also suppresses timeouts (those are on the window), but nothing else. However this is not important because we don't use Gecko's timeouts anyway.
Other events that are *not* linked to the document and aren't delayed by Gecko:
- Async XHR events (the biggest issue)→but these don't have defaults on Gecko AFAIK, so should be fine. - Message events (posted to window)→we don't use Gecko's anyway. - Storage events, but again, we don't use Gecko's anyway, so it's fine. - Possibly other such similar events? That said, such events would need to be sent/posted by Gecko before the event spin loop or during it to pose a problem. *And* they'd need to have defaults (on Gecko, not IE).
I did mention in the comment but it's probably not very obvious. If you have suggestions how to reword the comment please let me know.