Document.handleEvent( )
see
Window.handleEvent( )