proto_disable.baseline 1.2 KB

1234567891011121314151617181920
  1. *** Running test #1 (0): seal/freeze Object.prototype
  2. Object.seal(Object.prototype)
  3. Object.freeze(Object.prototype)
  4. PASSED
  5. *** Running test #2 (1): delete Object.prototype.__proto__
  6. delete Object.prototype.__proto__
  7. PASSED
  8. *** Running test #3 (2): DefineOwnProperty with missing/different attribute set
  9. Object.defineProperty(Object.prototype, "__proto__", {})
  10. Object.defineProperty(Object.prototype, "__proto__", {enumerable: false})
  11. Object.defineProperty(Object.prototype, "__proto__", {configurable: true})
  12. Object.defineProperty(Object.prototype, "__proto__", {enumerable: true, configurable: true})
  13. Object.defineProperty(Object.prototype, "__proto__", {enumerable: false, configurable: false})
  14. Object.defineProperty(Object.prototype, "__proto__", {enumerable: false, configurable: true})
  15. Object.defineProperty(Object.prototype, "__proto__", {value: 234, writable: true, enumerable: false, configurable: true})
  16. Object.defineProperty(Object.prototype, "__proto__", {set: function () { return "custom setter" }, enumerable: false, configurable: true})
  17. PASSED
  18. *** Running test #4 (3): Change Object.prototype.__proto__ getter or setter
  19. PASSED
  20. Summary of tests: total executed: 4; passed: 4; failed: 0