summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testDefinePropertyAcrossCompartment.js
blob: b997089e7129fc7ff795afecddcc075232bb5851 (plain)
1
2
3
4
5
6
7
var a = evalcx('');
Object.defineProperty(a, "", ({
    get: function() {},
}))
gc()

// don't crash