blob: f4dd96e3fba401913660fc25fe7c3ed4bd18a813 [file] [log] [blame]
if (helperThreadCount() === 0)
quit(0);
var global = newGlobal();
var dbg = new Debugger(global);
dbg.onNewScript = function (s) {
if (s.url === "<string>")
assertEq(s.getChildScripts().length, 1);
};
global.eval('offThreadCompileScript("function inner() { \\\"use asm\\\"; function xxx() {} return xxx; }");');
global.eval('runOffThreadScript();');