summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/properly-remove-timeout-root-before-shutdown.js
blob: e42bbede4c7b03b3891dc36af421b2e2c532a0ce (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);