promise_uncatchable_exception.js (267B)
1 /* global TestFunctions */ 2 3 postMessage("Done", "*"); 4 5 var p = new Promise(function () { 6 TestFunctions.throwUncatchableException(); 7 ok(false, "Shouldn't get here!"); 8 }).catch(function () { 9 ok(false, "Shouldn't get here!"); 10 }); 11 ok(false, "Shouldn't get here!");