/js/src/jit-test/tests/basic/testBug578044.js

http://github.com/zpao/v8monkey · JavaScript · 13 lines · 12 code · 1 blank · 0 comment · 0 complexity · 584519f6d6ef3a6b72aed63f5f4875c5 MD5 · raw file

  1. this.watch("x", Object.create)
  2. try {
  3. (function() {
  4. this.__defineGetter__("x",
  5. function() {
  6. return this
  7. })
  8. })()
  9. } catch(e) {}
  10. Object.defineProperty(x, "x", ({
  11. set: Uint16Array
  12. }))