commit | 02e5e2d4eb63c5dc237cb7f6cb55617a9c41b7a7 | [log] [tgz] |
---|---|---|
author | philipj@opera.com <philipj@opera.com> | Wed Nov 26 00:31:44 2014 |
committer | philipj@opera.com <philipj@opera.com> | Wed Nov 26 00:31:44 2014 |
tree | 49d44f8ca41143618387c8fec681b7f647c89849 | |
parent | ebd24db1d79b557a755c7ec5db97e574bec52361 [diff] |
Make arguments to NamedNodeMap methods non-optional https://dom.spec.whatwg.org/#namednodemap This changes Web-facing behavior, but these are alredy non-optional in IE and Firefox so it's unlikely to break the Web. There are use counters for all of these methods: https://www.chromestatus.com/metrics/feature/timeline/popularity/306 https://www.chromestatus.com/metrics/feature/timeline/popularity/307 https://www.chromestatus.com/metrics/feature/timeline/popularity/308 https://www.chromestatus.com/metrics/feature/timeline/popularity/309 https://www.chromestatus.com/metrics/feature/timeline/popularity/310 https://www.chromestatus.com/metrics/feature/timeline/popularity/311 https://www.chromestatus.com/metrics/feature/timeline/popularity/312 NamedNodeMap.getNamedItem() has the highest usage, around 0.7%. Review URL: https://codereview.chromium.org/758173002 git-svn-id: svn://svn.chromium.org/blink/trunk@185985 bbb929c8-8fbe-4397-9dbb-9b2b20218538