summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/promise/stopdrainingjobqueue.js
blob: 534cc0303981b6fcddeaef6e27a772466b743bbb (plain)
1
2
3
4
Promise.resolve()
    .then(()=>quit(0));
Promise.resolve()
    .then(()=>crash("Must not run any more promise jobs after quitting"));