I think `pageshow` might be the only one we can use from Gecko, the other two are intertwined on native IE and must be sent on all windows interleaved. It will also be necessary to control their dispatch ourselves when implementing performance.timing.unloadEventStart (and the respective End).
Coincidentally, for the EVENT_BIND_TO_TARGET being window, while looking at a bug now, I just discovered that `handle_htmlevent` silently drops all gecko events routed to the window, because we expect a node, but the window is not one. (this is an existing issue and a pretty nasty one)
So I'll fix that, too.