diff options
Diffstat (limited to 'js/src/jit-test/tests/promise/stopdrainingjobqueue.js')
-rw-r--r-- | js/src/jit-test/tests/promise/stopdrainingjobqueue.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/promise/stopdrainingjobqueue.js b/js/src/jit-test/tests/promise/stopdrainingjobqueue.js new file mode 100644 index 0000000000..534cc03039 --- /dev/null +++ b/js/src/jit-test/tests/promise/stopdrainingjobqueue.js @@ -0,0 +1,4 @@ +Promise.resolve() + .then(()=>quit(0)); +Promise.resolve() + .then(()=>crash("Must not run any more promise jobs after quitting"));
\ No newline at end of file |