summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/properly-remove-timeout-root-before-shutdown.js
blob: 3116b1115f05ec0259adec8f9dd8941ced28effe (plain)
1
2
3
4
5
6
// |jit-test| skip-if: getBuildConfiguration()['wasi']
// Bug 857050: Remove the timeout function root before shutting down.
function timeoutfunc() {}
timeout(1, timeoutfunc);
var g = newGlobal({newCompartment: true});
var dbg = Debugger(g);