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