Status: Untriaged
Owner: ----
New issue 4321 by [email protected]: Object.prototype.__lookupGetter__
returns getter from prototype even if there's an own property with a value
set (regression?)
https://code.google.com/p/v8/issues/detail?id=4321
Version: 4.2.77.20
OS: Mac OS X
Architecture: x64
```
var demand = require("must")
var obj = Object.defineProperty({}, "name", {get: function() {}})
var child = Object.create(obj, {name: {value: "John", configurable: true}})
child.name.must.equal("John")
demand(child.__lookupGetter__("name")).be.undefined()
```
In versions of V8 prior to v3.28.73 (released in Node.js v0.12.2) this
passed. In V8 v3.28.71.19 (Node v0.12.7) and v4.2.77.20 (Io.js v2.4.0) this
fails.
I know __lookupGetter__ et alii are on their way out, but it's probably not
the best idea to change their behavior while doing so.
Cheers,
Andri
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.