|
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/. */ |
|
6 |
|
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'; |
|
13 |
|
14 DESCRIPTION = summary; |
|
15 EXPECTED = expect; |
|
16 |
|
17 printBugNumber(BUGNUMBER); |
|
18 printStatus (summary); |
|
19 |
|
20 expectExitCode(0); |
|
21 expectExitCode(3); |
|
22 expectExitCode(5); |
|
23 |
|
24 var s = ""; |
|
25 s = "abcd"; |
|
26 for (i = 0; i < 100000; i++) { |
|
27 s += s; |
|
28 } |
|
29 |
|
30 expect = 'No Crash'; |
|
31 actual = 'No Crash'; |
|
32 |
|
33 reportCompare(expect, actual, summary); |