Test for bug 37718: Crash when replaying a sequence of keyboard events.

PASS
