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

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     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