mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 867856 - Fix intermittent timeout of bug743094.js test case. r=h4writer
This commit is contained in:
parent
73a2108665
commit
b5cddcd7a1
@ -1,11 +1,15 @@
|
|||||||
// |jit-test| error:InternalError
|
|
||||||
|
|
||||||
// Binary: cache/js-dbg-32-a9a18824b4c1-linux
|
// Binary: cache/js-dbg-32-a9a18824b4c1-linux
|
||||||
// Flags: --ion-eager
|
// Flags: --ion-eager
|
||||||
//
|
//
|
||||||
|
|
||||||
gczeal(2)
|
var i = 0;
|
||||||
|
|
||||||
|
gczeal(2);
|
||||||
function test() {
|
function test() {
|
||||||
typeof (new test("1")) != 'function'
|
if (i++ > 2500)
|
||||||
|
return "function";
|
||||||
|
var res = typeof (new test("1")) != 'function';
|
||||||
|
return res ? "function" : "string";
|
||||||
}
|
}
|
||||||
|
|
||||||
test();
|
test();
|
||||||
|
Loading…
Reference in New Issue
Block a user