Bug 996313 - Add boolean for ending test on assertion failure in JavascriptMessageParser. r=nalexander