Debian Codegraph @

js/src/jit-test/tests/gc/bug-1294241.js

raw
1 if (helperThreadCount() == 0)
2 quit();
3
4 ignoreUnhandledRejections();
5
6 gczeal(9);
7 function rejectionTracker(state) {}
8 setPromiseRejectionTrackerCallback(rejectionTracker)
9 lfGlobal = newGlobal();
10 offThreadCompileToStencil(`new Promise(()=>rej)`);
11 var stencil = lfGlobal.finishOffThreadStencil();
12 lfGlobal.evalStencil(stencil);
13 for (lfLocal in this);