On Mon Sep 12 10:22:07 2022 +0000, Gabriel Iv��ncescu wrote:
Ok, so I've got almost all of it working now. The C tests moved to events.c with a simplified pluggable protocol works fine. I added JS iframe tests (which has a few quirks) but I also implemented it now and it works fine. There's only one problem. But for context, first, please look at the `storage_event_proc` in the current patchset. Namely, the IE9+ part. So in the C code in events.c, in IE9+ modes, it first sends an `onstorage` event to the window, and then an `onstorage` event to the doc, but the one on the doc is a "legacy" event. But in JS code, in IE9+ modes, it **only** sends an `onstorage` event to the window, and nothing to the doc. Do you have some ideas as to what could cause this? I guess I could mark this as todo somehow (although it's an expected event, so need to figure out how to wait for it...), but maybe there's a known issue or something like that? How can I even detect if it's JS code or not, though.
I think that document.onstorage is a non-standard thing that was removed in IE9+ compatibility modes, see: https://testbot.winehq.org/JobDetails.pl?Key=123067