Closed Bug 820819 Opened 12 years ago Closed 6 years ago

DOM Inspector tries to set an attribute to null

Categories

(Other Applications :: DOM Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: neil, Unassigned)

References

Details

Recently setAttribute's behaviour was "corrected" to match the spec which says that null should stringify to "null", however dom.js contains this line of code:

this.mPanel.panelset.setCommandAttribute("cmd:selectByClick", "checked",
                                         null);

which now sets the attribute to "null". It probably makes no difference in the display, but it might be confusing for someone not expecting it.

(There may be other cases but I haven't tripped over them yet.)
Bulk close. This component is no longer supported or maintained.

https://bugzilla.mozilla.org/show_bug.cgi?id=1499023
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Bulk close. This component is no longer supported or maintained.

https://bugzilla.mozilla.org/show_bug.cgi?id=1499023
You need to log in before you can comment on or make changes to this bug.