summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1203790.js
blob: 9fee5117f45abd0c2f485a7131acbc6952bc8380 (plain)
1
2
3
4
5
6
7
8
9
10
gczeal(14);
verifyprebarriers();
x = [];
Array.prototype.push.call(x, new Uint8Array());
Array.prototype.some.call(x, function() {
    try {
        y.toString();
    } catch (e) {}
});
Array.prototype.shift.call(x);