Closed
Bug 117342
Opened 24 years ago
Closed 24 years ago
deep parameter for cloneNode is mandatory
Categories
(Documentation Graveyard :: Web Developer, defect)
Documentation Graveyard
Web Developer
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: nri_31, Assigned: oeschger)
References
()
Details
documentation on cloneNode uses []'s for parameter 'deep', so making it not
mandatory parameter. []'s should be removed, according to w3c spec.
True, although ECMAScript has rules for filling in omitted parameters and rules
for type conversion that might lead to a de-facto default (probably false) existing.
Comment 2•24 years ago
|
||
Even in ECMAScript all arguments defined in the DOM spec need to be passed in,
at least in mozilla, and there's been discussion in the DOM WG about certain
cases where it would make sense to default some arguments, but so far it's
always been decided that the arguments do need to be passed in, in all cases.
Comment 3•24 years ago
|
||
Reassigning to Ian then so that he can remove the [] around the boolean, since
it's required in Mozilla.
Assignee: rudman → oeschger
| Assignee | ||
Comment 4•24 years ago
|
||
Accepting. Fixed this in the docs. It'll be in the next rev of the domref, some
time in the next couple of days.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•24 years ago
|
||
Marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•