Debian Codegraph @

js/src/jit-test/tests/promise/settle-now-breaks-all-invariants-8.js

raw
1 // Don't assert when settlePromiseNow() is called on an async-function promise.
2
3 var promise = async function(){ await 0; }();
4
5 try {
6 settlePromiseNow(promise);
7 } catch {}