summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1324512.js
blob: 9366b2c277db6c015fe7ce33fabdced2749a9264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| skip-if: helperThreadCount() === 0

evalInWorker(`
    if (!('gczeal' in this))
        quit();
    try {
      gczeal(2,1);
      throw new Error();
    } catch (e) {
      assertEq("" + e, "Error");
    }
`);