summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_fail_unexpectedTimeout.js
blob: 2175eea27339ef4818e620b3bd96e53b595187c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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);
}