summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1466626-1.js
blob: f82c4de48ec05feaa09cc386756e9a36e1b26338 (plain)
1
2
3
4
5
6
7
// |jit-test| skip-if: !('oomTest' in this)

oomTest(function() {
    for (var i = 0; i < 10; ++i) {
        Promise.resolve().then();
    }
});