On Thu Feb 9 16:44:19 2023 +0000, Gabriel Ivăncescu wrote:
Isn't javascript still "single threaded" (or rather, sequential) with two separate iframes? It would be pretty weird to do a "sync" send() and end up in an unrelated handler from such script. This should extend to more than just script though, should exhibit it from C code as well. Good point about multiple HTMLDocumentObj, I'll see if I can add some tests for that and for iframes.
A single JS is "single threaded" in that sense, yes, but that it's not clear what does it mean for scripts running in separated contexts. For example, I'm not sure, but I think that Gecko blocks events in the document and its child frames, but not parents.