summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1717408.js
blob: 5ee6fbfaa15bdabf16ce0c7fb6f7cbbf7d7a2ab6 (plain)
1
2
3
4
5
let g = newGlobal({newCompartment: true});
g.evaluate("obj = {}")
g.obj.__proto__ = {};
recomputeWrappers();
g.evaluate("obj.x = 1");