summaryrefslogtreecommitdiffstats
path: root/dom/promise/tests/promise_uncatchable_exception.js
blob: 1b1f62e774832e1b372e7458a715a7a98955c24a (plain)
1
2
3
4
5
6
7
8
9
10
11
/* global TestFunctions */

postMessage("Done", "*");

var p = new Promise(function () {
  TestFunctions.throwUncatchableException();
  ok(false, "Shouldn't get here!");
}).catch(function () {
  ok(false, "Shouldn't get here!");
});
ok(false, "Shouldn't get here!");