Open Bug 682347 Opened 8 years ago Updated 6 years ago

use onreadystatechange in TestRunner

Categories

(Testing :: Mochitest, defect)

x86
All
defect
Not set

Tracking

(Not tracked)

People

(Reporter: mdas, Unassigned)

Details

when we're running a single, plain mochitest in a loop, we're launching test windows and checking their state with document.readyState. The logic is a bit hackish (it either opens the test window or grabs it if it exists, and checks the state periodically) and would be benefited by changing it to document.onreadystatechange.
Assignee: mdas → nobody
You need to log in before you can comment on or make changes to this bug.