mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 967467 - Jit-test basic\bug698584.js timesout on Windows XP test machines for debug builds; r=terrence
This commit is contained in:
parent
9f15cd31a6
commit
7309dee42f
@ -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 */
|
Loading…
Reference in New Issue
Block a user