js/src/tests/js1_5/Regress/regress-3649-n.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 // |reftest| skip -- skip test due to random oom related errors.
     2 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     3 /* This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 //-----------------------------------------------------------------------------
     8 // testcase from bug 2235 mff@research.att.com
     9 var BUGNUMBER = 3649;
    10 var summary = 'gc-checking branch callback.';
    11 var actual = 'error';
    12 var expect = 'error';
    14 DESCRIPTION = summary;
    15 EXPECTED = expect;
    17 printBugNumber(BUGNUMBER);
    18 printStatus (summary);
    20 expectExitCode(0);
    21 expectExitCode(3);
    22 expectExitCode(5);
    24 var s = "";
    25 s = "abcd";
    26 for (i = 0; i < 100000; i++)  {
    27   s += s;
    28 }
    30 expect = 'No Crash';
    31 actual = 'No Crash';
    33 reportCompare(expect, actual, summary);

mercurial