guijemont@igalia.com | 3d9c1e1 | 2017-11-21 01:27:02 +0000 | [diff] [blame] | 1 | //@ if $buildType == "release" && !$memoryLimited then runDefault else skip end |
sbarati@apple.com | 10d7566 | 2017-06-30 00:58:18 +0000 | [diff] [blame] | 2 | |
| 3 | function temp(i) { |
| 4 | let a1 = [{}]; |
| 5 | a1.foo = 20; |
| 6 | a1.foo1 = 20; |
| 7 | a1.foo2 = 20; |
| 8 | a1.foo3 = 20; |
| 9 | a1.foo4 = 20; |
| 10 | a1.foo5 = 20; |
| 11 | a1.foo6 = 20; |
| 12 | a1.foo8 = 20; |
| 13 | a1.foo10 = 20; |
| 14 | a1.foo11 = 20; |
| 15 | delete a1[0]; |
| 16 | try { |
| 17 | let args = [-15, 1, 'foo', 20, 'bar']; |
| 18 | for (let j = 0; j < i; ++j) |
| 19 | args.push(j); |
| 20 | for (let i = 0; i < 2**31 - 1; ++i) { |
| 21 | Array.prototype.splice.apply(a1, args); |
| 22 | } |
| 23 | } catch(e) { } |
| 24 | } |
| 25 | let i = 62; |
| 26 | temp(i); |