summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1556155.js
blob: 9bf26481310f2430693011c15364b71290d5e7b4 (plain)
1
2
3
4
5
6
a = [];
minorgc();
Object.defineProperty(a, 12, {}).push(1);
toString = (function() { return a.reverse(); });
oomTest(Date.prototype.toJSON);
oomTest(Date.prototype.toJSON);