Closed Bug 579079 Opened 14 years ago Closed 14 years ago

Elements not removed from name table correctly

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta3+

People

(Reporter: bzbarsky, Assigned: sicking)

References

Details

(Keywords: regression)

Attachments

(2 files)

See attached self-describing testcase. The problem is that the patch in bug 564863 put AddToNameTable in nsGenericHTMLElement::BindToTree but only put RemoveFromNameTable() in nsGenericHTMLFormElement::UnbindFromTree. So of the things we add to the name table, only <object> gets removed from it. This is a serious web compat regression; should probably block b2.
(In reply to comment #0) > See attached self-describing testcase. In which bug?
Attached file Testcase (deleted) —
Oops. Forgot to attach this.
Attached patch Patch to fix (deleted) — Splinter Review
I'll integrate the testcase as well.
Attachment #457945 - Flags: review?(jst)
Attachment #457945 - Flags: review?(jst) → review+
blocking2.0: beta2+ → beta3+
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: