summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1234410.js
blob: 11ae164f4b01b1b6419a3991da6a3e1baa0a20d5 (plain)
1
2
3
4
5
6
7
8
9
10
if (!('oomTest' in this))
    quit();

enableSPSProfiling();
oomTest(() => {
    try {
        for (var quit of oomTest.gcparam("//").ArrayBuffer(1)) {}
    } catch (e) {}
});