summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_requestLongerTimeout.js
blob: cb53e13a29f0cc8e6d6d62c067a8521e11155b31 (plain)
1
2
3
4
5
6
7
8
9
function test() {
  requestLongerTimeout(2);
  function end() {
    ok(true, "should not time out");
    finish();
  }
  waitForExplicitFinish();
  setTimeout(end, 40000);
}