summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_fail_timeout.js
blob: 44030a00f0260348385973f8e334c6e97bb7577f (plain)
1
2
3
4
5
6
7
8
9
function test() {
  function end() {
    ok(false, "should have timed out");
    finish();
  }
  waitForExplicitFinish();
  // eslint-disable-next-line mozilla/no-arbitrary-setTimeout
  setTimeout(end, 40000);
}