From 7309dee42f9aa5694628efe9213429c7b5d12600 Mon Sep 17 00:00:00 2001 From: Dan Minor Date: Thu, 6 Feb 2014 12:37:12 -0500 Subject: [PATCH] Bug 967467 - Jit-test basic\bug698584.js timesout on Windows XP test machines for debug builds; r=terrence --- js/src/jit-test/tests/basic/bug698584.js | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 js/src/jit-test/tests/basic/bug698584.js diff --git a/js/src/jit-test/tests/basic/bug698584.js b/js/src/jit-test/tests/basic/bug698584.js deleted file mode 100644 index ad334762b68..00000000000 --- a/js/src/jit-test/tests/basic/bug698584.js +++ /dev/null @@ -1,22 +0,0 @@ -// |jit-test| allow-oom; -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/licenses/publicdomain/ - */ - -try -{ - const MAX = 10000; - var str = ""; - for (var i = 0; i < MAX; ++i) { - /x/.test(str); - str += str + 'xxxxxxxxxxxxxx'; - } -} -catch (e) -{ - assertEq(""+e === "InternalError: allocation size overflow" || - ""+e === "out of memory", true); -} - -/* Don't crash */