michael@0: // |reftest| skip-if((isDebugBuild&&!xulRuntime.shell)||Android) -- hang michael@0: // Any copyright is dedicated to the Public Domain. michael@0: // http://creativecommons.org/licenses/publicdomain/ michael@0: michael@0: if (typeof gczeal != 'undefined' && typeof gc != 'undefined') { michael@0: try michael@0: { michael@0: gczeal(2); michael@0: var obj = {}; michael@0: for (var i = 0; i < 50; i++) { michael@0: obj["_" + i] = 0; michael@0: gc(); michael@0: } michael@0: } michael@0: catch(ex) michael@0: { michael@0: } michael@0: gczeal(0); michael@0: } michael@0: reportCompare("no assertion failure", "no assertion failure", "bug 524743");