RESOLVED FIXED 160050
Make parameters to Document.getElementsBy*() operations mandatory
https://bugs.webkit.org/show_bug.cgi?id=160050
Summary Make parameters to Document.getElementsBy*() operations mandatory
Chris Dumez
Reported 2016-07-21 14:38:12 PDT
Make parameters to Document.getElementsBy*() operations mandatory to match the specification: - https://dom.spec.whatwg.org/#interface-document Firefox and Chrome agree with the specification so the compatibility risk should be low. It makes very little sense to call these operations without parameter, especially considering WebKit uses the string "undefined" if the parameter is omitted.
Attachments
Patch (24.86 KB, patch)
2016-07-21 16:04 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-07-21 16:04:40 PDT
WebKit Commit Bot
Comment 2 2016-07-21 16:53:34 PDT
Comment on attachment 284276 [details] Patch Clearing flags on attachment: 284276 Committed r203539: <http://trac.webkit.org/changeset/203539>
WebKit Commit Bot
Comment 3 2016-07-21 16:53:39 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.