summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_fail_async.js
blob: 6f284bf2aabec72f9195b04cf4a9513448bae6ba (plain)
1
2
3
4
5
6
7
8
9
setExpectedFailuresForSelfTest(1);

function test() {
  waitForExplicitFinish();
  executeSoon(() => {
    ok(false, "fail");
    finish();
  });
}