Re: [dom] setAttributeNode and setAttributeNodeNS can be an aliases (#117)

Good catch, `setNamedItem` and `setNamedItemNS` are indeed aliases of `setAttributeNode` and `setAttributeNodeNS` in Blink. I've checked and there aren't any other internal uses.

Usage is actually lower than for `setAttributeNode`, here are the counters for all four APIs:
 * [setAttributeNode](https://www.chromestatus.com/metrics/feature/timeline/popularity/108)
 * [setAttributeNodeNS](https://www.chromestatus.com/metrics/feature/timeline/popularity/216)
 * [setNamedItem](https://www.chromestatus.com/metrics/feature/timeline/popularity/307)
 * [setNamedItemNS](https://www.chromestatus.com/metrics/feature/timeline/popularity/311)

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

Received on Monday, 23 November 2015 18:47:12 UTC