new FakeEvent(type, opt_dictopt)
Create an Event work-alike object based on the provided dictionary. The event should contain all of the same properties from the dict.
Non-standard property read by FakeEventTarget to stop processing listeners.
(constant) timeStamp :number
According to MDN, Chrome uses high-res timers instead of epoch time. Follow suit so that timeStamps on FakeEvents use the same base as on native Events.
Prevents the default action of the event. Has no effect if the event isn't cancellable.
Stops processing event listeners for this event. Provided for compatibility with native Events.