Comment #3 on issue 3333 by [email protected]: Function name should be configurable
http://code.google.com/p/v8/issues/detail?id=3333

Re #2: That comment referred to the effect described in issue 3334 for example. The value of the 'name' property is actually stored in an internal field (not as part of the JSFunction object but inside the SharedFunctionInfo). We install an internal callback which appears as a data property to JS, but internal in fact behaves very much like an accessor. Using Object.defineProperty() to change the attributes of such a value will bogusly turn it into a real data property, thereby destroying this "shadowing" that the internal callback provided. This is a known bug in Object.defineProperty() and will be fixed soon, but is unrelated to this issue at hand.

Sorry for side-tracking the discussion with my PS comment.

--
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.

Reply via email to