Re: [dom] Supported property names for NamedNodeMap (#141)

The list should in theory include all names which return something other than `undefined` for `Object.getOwnPropertyDescriptor`, right?

This actually kinda sucks; due to the lowercasing behavior this means that all possible uppercasings should be in the list, or something.  That seems fairly undesirable, not to mention probably not so web-compatible.

Now the good news is that since named props can't be made non-configurable and objects with such props can't be made non-extensible there isn't actually a violation of the spec section you cite here if we just have `[[OwnPropertyKeys]]` return some subset of the things that will return useful stuff from `[[GetOwnProperty]]`.  It's slightly weird behavior, but not inherently contradicting the ES spec.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/141#issuecomment-168753410

Received on Monday, 4 January 2016 18:03:24 UTC