There's no XPCOM interface exposed by it, which would require changing wine-gecko and frankly, it complicates it for no reason (dispatching it is simple because we already handle the load event).
AFAICS the only reason you need XPCOM is to guess event type from nsIDOMEvent, but you wouldn't need that if you use a dedicated event listener. You could then just call proper constructor directly, for example.