Bug 160517

Summary: Object.getOwnPropertyNames() on NamedNodeMap fails to return named properties
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, cmarcelo, commit-queue, darin, dbates, esprehn+autocc, ggaren, kangil.han, rniwa, sam
Priority: P2 Keywords: WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://dom.spec.whatwg.org/#dom-namednodemap-item
Attachments:
Description Flags
Patch
none
Patch none

Chris Dumez
Reported 2016-08-03 11:49:17 PDT
Object.getOwnPropertyNames() on NamedNodeMap fails to return named properties: - https://dom.spec.whatwg.org/#dom-namednodemap-item The spec says: A NamedNodeMap object’s supported property names are the return value of running these steps: 1. Let names be the qualified names of the attributes in this NamedNodeMap object’s attribute list, with duplicates omitted, in order. 2. If this NamedNodeMap object’s element is in the HTML namespace and its node document is an HTML document, then for each name in names, run these substeps: 1. Let lowercaseName be name, converted to ASCII lowercase. 2. If lowercaseName is not equal to name, remove name from names. 3. Return names.
Attachments
Patch (7.21 KB, patch)
2016-08-03 11:51 PDT, Chris Dumez
no flags
Patch (7.25 KB, patch)
2016-08-03 11:55 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-08-03 11:51:12 PDT
Chris Dumez
Comment 2 2016-08-03 11:55:40 PDT
WebKit Commit Bot
Comment 3 2016-08-03 22:28:20 PDT
Comment on attachment 285257 [details] Patch Clearing flags on attachment: 285257 Committed r204115: <http://trac.webkit.org/changeset/204115>
WebKit Commit Bot
Comment 4 2016-08-03 22:28:25 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.