Closed
Bug 449225
Opened 16 years ago
Closed 16 years ago
DHTML: form removed using removeChild() is still accessible
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 307415
People
(Reporter: matt, Unassigned)
Details
Attachments
(1 file)
629 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1 A form removed from an HTML document using document.body.removeChild() is still accessible using document.formname. It is (correctly) no longer available using document.forms['formname']. Reproducible: Always Steps to Reproduce: See attached script to reproduce Actual Results: Script result: document.forms["myForm"] should be undefined and is undefined. document.myForm should be undefined and is [object HTMLFormElement]. Expected Results: document.forms["myForm"] should be undefined and is undefined. document.myForm should be undefined and is undefined. See attached script
Reporter | ||
Comment 1•16 years ago
|
||
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•