Bug 160087 - First parameter to getElementById() should be mandatory
Summary: First parameter to getElementById() should be mandatory
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://dom.spec.whatwg.org/#noneleme...
Keywords: WebExposed
Depends on: 167682
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-22 10:38 PDT by Chris Dumez
Modified: 2017-01-31 20:22 PST (History)
7 users (show)

See Also:


Attachments
Patch (14.79 KB, patch)
2016-07-22 10:41 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-07-22 10:38:58 PDT
First parameter to getElementById() should be mandatory:
- https://dom.spec.whatwg.org/#nonelementparentnode
- https://www.w3.org/TR/SVG/struct.html#InterfaceSVGSVGElement

Both Firefox and Chrome agree with the specification.
Comment 1 Chris Dumez 2016-07-22 10:41:17 PDT
Created attachment 284344 [details]
Patch
Comment 2 WebKit Commit Bot 2016-07-22 11:40:47 PDT
Comment on attachment 284344 [details]
Patch

Clearing flags on attachment: 284344

Committed r203605: <http://trac.webkit.org/changeset/203605>
Comment 3 WebKit Commit Bot 2016-07-22 11:40:54 PDT
All reviewed patches have been landed.  Closing bug.