summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/generators/bug1501722.js
blob: 9ff2724a9fb821c0ca803aec2df1e54c435f6f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| skip-if: !('oomTest' in this)

ignoreUnhandledRejections();

(function () {
    g = newGlobal({newCompartment: true});
    g.parent = this;
    g.eval("(function() { var dbg = Debugger(parent); dbg.onEnterFrame = function() {} } )")
    ``;
    oomTest(async function() {}, {expectExceptionOnFailure: false});
})()