Test that initEvent while dispatching short-circuits.
Merge pull request #1364 from jdm/initevent

Test that initEvent while dispatching short-circuits; r=Ms2ger