summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1472734.js
blob: 64b8f86137c9109ba37360fbb84e323ae762a4fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| skip-if: !('oomTest' in this) || helperThreadCount() === 0

try {
    oomTest(function() {
      eval(`
        function eval(source) {
          offThreadCompileModule(source);
          minorgc();
        }
        eval("");
      `);
    });
} catch (exc) {}