summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/properly-remove-timeout-root-before-shutdown.js
blob: 5edce671b1a6d6e167e56caf86ca4722a8988348 (plain)
1
2
3
4
5
// Bug 857050: Remove the timeout function root before shutting down.
function timeoutfunc() {}
timeout(1, timeoutfunc);
var g = newGlobal({newCompartment: true});
var dbg = Debugger(g);