Test that initFooEvent while dispatching short-circuits for all event types.
Merge pull request #1378 from jdm/dispatchinit

Test that initFooEvent while dispatching short-circuits for all event types; r=Ms2ger