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

oomTest(() => {
    offThreadCompileScript(`try {} catch (NaN) {}`);
    runOffThreadScript();
});