missing-export-offthread.js (273B)
1 // |jit-test| skip-if: helperThreadCount() === 0 2 3 load(libdir + "asserts.js") 4 5 // Don't assert. 6 offThreadCompileModuleToStencil("export { x };"); 7 assertThrowsInstanceOf(() => { 8 var stencil = finishOffThreadStencil(); 9 instantiateModuleStencil(stencil); 10 }, SyntaxError);