summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_requestLongerTimeout.js
blob: 4107e11fd0131ae70aefe71eb65c18d5a7847fac (plain)
1
2
3
4
5
6
7
8
9
10
function test() {
  requestLongerTimeout(2);
  function end() {
    ok(true, "should not time out");
    finish();
  }
  waitForExplicitFinish();
  // eslint-disable-next-line mozilla/no-arbitrary-setTimeout
  setTimeout(end, 40000);
}