diff -r 000000000000 -r 6474c204b198 testing/mochitest/tests/browser/browser_fail_unexpectedTimeout.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testing/mochitest/tests/browser/browser_fail_unexpectedTimeout.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,12 @@ +function test() { + function message() { + info("This should delay timeout"); + } + function end() { + ok(true, "Should have not timed out, but notified long running test"); + finish(); + } + waitForExplicitFinish(); + setTimeout(message, 20000); + setTimeout(end, 40000); +}