I just found that window.fireEvent and window.dispatchEvent undefined in IE8, however document.fireEvent exists.
window.fireEvent
window.dispatchEvent
document.fireEvent
So how can I fire events for a window element in IE8? ...
window
It's impossible. JQuery method etc. It consists in the fact that it actually emits events inside jQuery, and does not use its own event.