1 2 3 4 5 6 7 8
function test() { function end() { ok(false, "should have timed out"); finish(); } waitForExplicitFinish(); setTimeout(end, 40000); }