summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_zz_fail_openwindow.js
blob: 2f7fb04d7831134ff284ceb297f55207a35efbb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function test() {
  waitForExplicitFinish();
  function done() {
    ok(true, "timeout ran");
    finish();
  }

  ok(OpenBrowserWindow(), "opened browser window");
  // and didn't close it!

  // eslint-disable-next-line mozilla/no-arbitrary-setTimeout
  setTimeout(done, 10000);
}