js/src/tests/js1_8_1/regress/regress-524743.js

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 // |reftest| skip-if((isDebugBuild&&!xulRuntime.shell)||Android)  -- hang
     2 // Any copyright is dedicated to the Public Domain.
     3 // http://creativecommons.org/licenses/publicdomain/
     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");

mercurial