Bug 160087

Summary: First parameter to getElementById() should be mandatory
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, commit-queue, darin, dbates, rniwa, sam
Priority: P2 Keywords: WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://dom.spec.whatwg.org/#nonelementparentnode
Bug Depends on: 167682    
Bug Blocks:    
Attachments:
Description Flags
Patch none

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.