summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1828396.js
blob: 465377f027e8ebb4529301ad45c6f619ecb2be15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
a = `
  fullcompartmentchecks(true);
  oomTest(Debugger)
`.split('\n')
c = "";
while (true) {
    d = a.shift()
    if (d == null) break;
    c += d
    e(c);
    function e(f) {
        try {
            evaluate(f);
        } catch {}
    }
}