summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/basic/testBug578044.js
blob: c5b811dc9b641e56e492c1450dc47fb67438c0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
this.watch("x", Object.create)
try {
  (function() {
    this.__defineGetter__("x",
    function() {
      return this
    })
  })()
} catch(e) {}
Object.defineProperty(x, "x", ({
  set: Uint16Array
}))