summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1515993.js
blob: 8b8700091873b373e45f3ce3136c32d7768dde9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ignoreUnhandledRejections();

function checkGetOffsetsCoverage() {
    var g = newGlobal({newCompartment: true});
    var dbg = Debugger(g);
    var topLevel;
    dbg.onNewScript = function(s) {
        topLevel = s;
    };
    g.eval(`import(() => 1)`);
    topLevel.getChildScripts();
}
checkGetOffsetsCoverage();
gczeal(14, 10);
Object.defineProperty(this, "fuzzutils", {});