summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/promise/unhandled-rejections-error.js
blob: 48a2eedda2e2a9878637b69a4eab257140e6315c (plain)
1
2
3
// |jit-test| error:Error while printing unhandled rejection

Promise.reject({ toSource() { throw "another error"; } });