Bug 848291 - Update TransitionEvent to be compatible with the spec, additional patch for the test, r=dbaron