WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-07-21 16:04:40 PDT
Created
attachment 284276
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug