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

> @bzbarsky, should I just add a statement to exclude duplicates here?

Probably good enough, yes, as long as order is clearly defined.  Certainly that's all Gecko does in practice.  See http://hg.mozilla.org/mozilla-central/file/d7a0ad85d9fb/dom/base/nsDOMAttributeMap.cpp#l219 for the implementation as of today.

> Might be a known bug though.

There are all sorts of bugs around `getOwnPropertyNames` on stuff with named getters in browsers.  Gecko didn't have proper support for it on `NamedNodeMap` until Firefox 45, for example.  Whether it's _known_ is harder to tell.  Probably worth just reporting.

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

Received on Monday, 4 January 2016 17:02:39 UTC