Bug 776043 - Make jittests assert if an error does not exit with failure; r=terrence

--HG--
extra : rebase_source : 629830fae497347215d188d687e3dc1e41144b3f