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(); } });