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

https://domspecwhatwgorg/#dom-namednodemap-item
"A NamedNodeMap object’s supported property names, all unenumerable, are the qualified names of the attributes in the attribute list, in order"

But these supported property names must be all qualified names of the attributes in the attribute list? So for example we can have five attributes with qualified name `a:test` and different namespace and all of them belong to supported property names? If yes then what ObjectgetOwnPropertyNames() and DevTools should return (when inspect NamedNodeMap object), only first (or last) unique qualified name or all qualified names (including duplicates)?

Small testcase:
```
<!DOCTYPE html>
<html>
<body>
    <script>
        
        var newP = documentcreateElement("P");
        newPsetAttributeNS("wwwtest1com", "a:new", "Test1");
        newPsetAttributeNS("wwwtest2com", "a:new", "Test2");
        newPsetAttributeNS("wwwtest3com", "a:new", "Test3");
        newPsetAttributeNS("wwwtest4com", "A:new", "Test4");
        newPsetAttributeNS("wwwtest5com", "A:new", "Test5");
        newPsetAttributeNS("wwwtest6com", "A:new", "Test6");
        
        consolelog(newPattributes);
        consolelog(ObjectgetOwnPropertyNames(newPattributes));
        consolelog(newPattributes["a:new"]);
        consolelog(newPattributes["A:new"]);

    </script>
</body>
</html>
```

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

Received on Monday, 4 January 2016 06:47:06 UTC