Backout the previous landing (15229e2a01b1) for Bug 978862, since it had wrong bug number, r=backout
Bug 978862, make sure to use the right event type atom throughout CompileEventHandlerInternal, r=jst