properly-remove-timeout-root-before-shutdown.js (240B)
1 // |jit-test| skip-if: getBuildConfiguration("wasi") 2 // Bug 857050: Remove the timeout function root before shutting down. 3 function timeoutfunc() {} 4 timeout(1, timeoutfunc); 5 var g = newGlobal({newCompartment: true}); 6 var dbg = Debugger(g);