The UIEvent()
constructor creates a new UIEvent
object.
Note: If you construct a synthetic event using this constructor, that event will not be trusted, for security reasons. Only browser-generated UIEvent
objects are trusted and only trusted events trigger default actions.