When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.
MozReview-Commit-ID: 1G3ggeaZ1Os