Open Bug 1471839 Opened 3 years ago Updated 2 years ago

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

Categories

(Testing :: Mochitest, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: bbouvier, Unassigned)

Details

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:
https://treeherder.mozilla.org/logviewer.html#?job_id=185111530&repo=mozilla-inbound&lineNumber=7413

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
You need to log in before you can comment on or make changes to this bug.