This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14017 - Node.contain shouldn't throw when null is passed as parameter.
Summary: Node.contain shouldn't throw when null is passed as parameter.
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on: 18358
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-03 09:57 UTC by Olli Pettay
Modified: 2012-07-23 13:03 UTC (History)
2 users (show)

See Also:


Attachments

Description Olli Pettay 2011-09-03 09:57:34 UTC
...this way it would be consistent with other boolean returning methods in
Node.
Comment 1 Anne 2011-09-03 11:42:51 UTC
Given how it is defined I think all it needed was a ? in the IDL. Done:

https://bitbucket.org/ms2ger/dom-core/changeset/edf1f5c3aafc