summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1300904.js
blob: 22741293665ec1c473f1e3bdbfabb2caa2221627 (plain)
1
2
3
4
5
6
// |jit-test| skip-if: !('oomTest' in this)
Object.getOwnPropertyNames(this);
oomTest(function() {
    this[0] = null;
    Object.freeze(this);
});