Bug 1701777: Fix timeout handling for xorigin mochitests. r=mccr8
commit1dc330007c7b628fe5f8f2851405a2ebf3fc0e7a
authorKris Maglione <maglione.k@gmail.com>
Thu, 8 Apr 2021 18:34:07 +0000 (8 18:34 +0000)
committerKris Maglione <maglione.k@gmail.com>
Thu, 8 Apr 2021 18:34:07 +0000 (8 18:34 +0000)
tree185483bf08aa55937488514cbf6b2ca2c26aa367
parentc7e473fd39e8bd29923edf592511e6e5a3b4ad99
Bug 1701777: Fix timeout handling for xorigin mochitests. r=mccr8

This copies some of the basic diagnostic reporting logic from SimpleTest to
TestRunner so that it can report timeout errors without an unnecessary
async roundtrip, and moves timeout handling to use a "message" event which
works in both in-process and out-of-process modes.

Differential Revision: https://phabricator.services.mozilla.com/D110326
dom/canvas/test/webgl-conf/generated-mochitest.ini
dom/canvas/test/webgl-conf/mochitest-errata.ini
testing/mochitest/tests/SimpleTest/SimpleTest.js
testing/mochitest/tests/SimpleTest/TestRunner.js