summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/promise/bug-1298776.js
blob: bd4f2a66ed83479f73c3d4c08bc375ccc6b74cfa (plain)
1
2
3
4
ignoreUnhandledRejections();

if (typeof oomTest === 'function')
    oomTest(Function(`new Promise(res=>res)`));