This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html Multipage: http://www.whatwg.org/C#the-document-object Complete: http://www.whatwg.org/c#the-document-object Comment: getItems should use a default value for the optional argument Posted from: 173.48.81.109 by bzbarsky@mit.edu User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20121203 Firefox/20.0
NodeList getItems(optional DOMString typeNames = ""); and then the prose doesn't have to worry about it being missing.
bz: I bet people will now start filing bugs saying the spec doesn't handle the case of the attribute being omitted and I'll end up having to mention it in the prose redundantly anyway... :-P
Checked in as WHATWG revision r7718. Check-in comment: Use WebIDL instead of prose. http://html5.org/tools/web-apps-tracker?from=7717&to=7718