author | Igor Bukanov <igor@mir2.org> |
Tue, 21 Dec 2010 16:03:01 +0100 | |
changeset 59906 | c166bfc18951b6c99f37e469f8f4d310ea96bbef |
parent 59905 | 28ce3b08ea8fe7a7fd826ca16f60bfb532ea1f06 |
child 59907 | 51a93d6feb0161c0195208119008435490700354 |
push id | 17820 |
push user | cleary@mozilla.com |
push date | Tue, 04 Jan 2011 21:40:57 +0000 |
treeherder | mozilla-central@969691cfe40e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 620376 |
milestone | 2.0b8pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/js/src/tests/js1_8_5/regress/regress-620376-1.js +++ b/js/src/tests/js1_8_5/regress/regress-620376-1.js @@ -1,21 +1,23 @@ /* * Any copyright is dedicated to the Public Domain. * http://creativecommons.org/licenses/publicdomain/ * Contributors: Igor Bukanov */ +// Test that we can terminate looping array enumeration function test() { if (typeof timeout != "function") return; var p = Proxy.create({ enumerate: function() { return Array(1e9); }}); expectExitCode(6); timeout(0.001); var n = 0; for (i in p) { ++n;} return n; } test(); +reportCompare(0, 0, "ok");