Open Bug 1471839 Opened 6 years ago Updated 2 years ago

Mochitest doesn't show JavaScript error messages and instead fail as timeout


(Testing :: Mochitest, defect, P3)



(Not tracked)


(Reporter: bbouvier, Unassigned)


In bug 1447591, I made a change that caused a JS error in the test dom/base/test/test_postMessages.html . This error never directly showed up in the logs but rather materialized as a timeout in the mochitest process.

See logs:

It would have been simpler and more helpful if the JS error would have shown up directly in the logs. I consider this a bug, because the test wasn't really failing because of a timeout, and the failure could have been detected earlier, thus costing less machine time to wait for the timeout expiration.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.