Comment #6 on issue 2672 by swivelgames: Object.create,
Explicit "writable:false" results in error with setter/getters
http://code.google.com/p/v8/issues/detail?id=2672
While I disagree with the decision made in the spec (as that doesn't make a
whole lot of sense), I'm going to have to agree with the previous comment...
If it's not the implementation that is incorrect, then it is the error
message.
To me, the proper functionality would be...
a. If either desc.[[Value]] is not undefined or desc.[[Writable]] evaluates
true
However, since this isn't an ECMA forum, I would dispute the error message.
The error message specifies "writable" _status_, not the presence or
absence of the "writable" property. I spent quite a long time trying to
figure out what in the world the issue was, because the error message was
misleading.
The spec says that it cannot have a Writable property, not that it can't be
writable. The error message needs to clearly state what checks are failing
to produce the error. The error message fails to do so.
--
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
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.