Closed Bug 308269 Opened 19 years ago Closed 19 years ago

Removing name or ID attr on input doesn't remove name from form

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

()

Details

Testcase in URL field should explain it all... Basically, we do stuff in nsGenericHTMLFormElement::SetAttr that we don't do in UnsetAttr.
Depends on: 308270
Duplicate of bug 100499, isn't it?
No. That bug is about the stale ref after you've gotten by name once and have changed it. This bug is about a stale ref if you've _never_ gotten by name and then _remove_ it. Quite different bugs, with totally different underlying code reasons.
Fixed by checkin for bug 308270
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.