michael@0: // |reftest| skip-if(Android) michael@0: /* michael@0: * Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/licenses/publicdomain/ michael@0: * Contributors: Gary Kwong and Nicholas Nethercote michael@0: */ michael@0: michael@0: if (typeof gczeal != 'undefined' && typeof gc != 'undefined') { michael@0: try michael@0: { michael@0: try { michael@0: __defineGetter__("x", gc) michael@0: } catch (e) {} michael@0: gczeal(1) michael@0: print(x)(Array(-8)) michael@0: } michael@0: catch(ex) michael@0: { michael@0: } michael@0: } michael@0: michael@0: // Reset gczeal. michael@0: if (typeof gczeal !== 'undefined') michael@0: gczeal(0) michael@0: michael@0: reportCompare("no assertion failure", "no assertion failure", "bug 563210"); michael@0: michael@0: