summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1263884.js
blob: 50c35275627da7de3fa5f450ff885cb56fe7f86e (plain)
1
2
3
4
5
6
7
8
9
10
if (!('oomTest' in this))
    quit();

oomTest(function() {
  eval(`
    var argObj = function () { return arguments }()
    for (var p in argObj);
    delete argObj.callee;
  `);
});