Closed
Bug 736291
Opened 13 years ago
Closed 13 years ago
removeChild() does not completely remove the child node from the document
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 307415
People
(Reporter: justin.lottes, Unassigned)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Build ID: 20120215223356 Steps to reproduce: I have a form that dynamically adds and removes form elements. It also reuses elements if they already exist. I have attached a simple page with some javascript that demonstrates the problem. Actual results: If an element is removed using the removeChild function, there is a ghost of the element that still exists in the document object. It does not show up in FireBug, however it is still there. Expected results: removeChild should remove any references in the document object.
Reporter | ||
Comment 1•13 years ago
|
||
I forgot to add... You can completely delete the object with.... delete document.form.FORM_NAME[OBJECT_NAME];
Updated•13 years ago
|
Attachment #606371 -
Attachment mime type: text/plain → text/html
Comment 2•13 years ago
|
||
The button appears to remove for me on 3.6.28 and the latest nightly. How am I supposed to detect the ghost?
Reporter | ||
Comment 3•13 years ago
|
||
Click on Remove button a second time. Sorry, forgot to mention that.
![]() |
||
Comment 4•13 years ago
|
||
Maybe Bug 307415
Reporter | ||
Comment 5•13 years ago
|
||
I believe it is. I didn't use the right search terms. Strangely, Chrome does the same thing, but IE handles it correctly.
Updated•13 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•