summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug767273.js
blob: 2d8e99d3caedc0542edcbc178e409ed1ba9a2898 (plain)
1
2
3
4
5
6
7
var prox = new Proxy({}, {
  getOwnPropertyDescriptor: function() { return undefined; },
  has:                      function() { return true; },
});

// Don't crash.
newGlobal().__lookupSetter__.call(prox, "e");