-1:000000000000 | 0:25af51695fc8 |
---|---|
1 // |reftest| skip-if((isDebugBuild&&!xulRuntime.shell)||Android) -- hang | |
2 // Any copyright is dedicated to the Public Domain. | |
3 // http://creativecommons.org/licenses/publicdomain/ | |
4 | |
5 if (typeof gczeal != 'undefined' && typeof gc != 'undefined') { | |
6 try | |
7 { | |
8 gczeal(2); | |
9 var obj = {}; | |
10 for (var i = 0; i < 50; i++) { | |
11 obj["_" + i] = 0; | |
12 gc(); | |
13 } | |
14 } | |
15 catch(ex) | |
16 { | |
17 } | |
18 gczeal(0); | |
19 } | |
20 reportCompare("no assertion failure", "no assertion failure", "bug 524743"); |