summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug783590.js
blob: d48cb609ebb8e870122f7d0678fe2a9b4138698f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| error: TypeError

var glob = this;
var arr = [];
Object.defineProperty(arr, 0, {
  get: (function() {
    glob.__proto__;
  })
});
this.watch("s", function() {});
try {
  arr.pop();
} catch (e) {}
arr.pop();