summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/bug1366925.js
blob: c213759e0e32fa74876e7a31248a543db17611c5 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| skip-if: helperThreadCount() === 0
// Avoid crashing with --no-threads

// JS shell shutdown ordering

evalInWorker(`
  var lfGlobal = newGlobal();
  lfGlobal.offThreadCompileToStencil(\`{ let x; throw 42; }\`);
`);