summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug1117235.js
blob: 80cac617b31529757048dcd0c225e671ae686cdb (plain)
1
2
3
4
5
6
7
8
load(libdir + "asserts.js");

if (helperThreadCount() === 0)
  quit(0);

options('werror');
offThreadCompileScript("function f() {'use asm'}");
assertThrowsInstanceOf(()=>runOffThreadScript(), TypeError);