Jacek Caban (@jacek) commented about dlls/mshtml/htmlevent.c:
nsAString nsstr; nsresult nsres;
- nsAString_InitDepend(&nsstr, type);
- nsAString_InitDepend(&nsstr, is_non_gecko_event_type(type, &event_id) ? L"Event" : type);
What's wrong with passing the actual type for those events?