User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050903 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050903 Firefox/1.0+ If an input is removed from the document, it still remains as a property of the form, but NOT as a property of form.elements. The behaviour should be identical. Reproducible: Always Steps to Reproduce: 1. remove an input that is a descendant of a form Actual Results: form.inputName still holds a reference to the removed input Expected Results: form.inputName is updated to undefined
This behaviour is evident in Firefox 1.04 on OSX
This is quite similar to bug 100499, same cause?
Bug 377413 is very similar to this bug.
I observe this behavior on Firefox 22.214.171.124 on Windows. Holla.
I can reproduce this bug using Firefox trunk on Mac.
8 years ago
I hope I won't surprise anybody if this bug is still present as of 9.0a2 :-)
5 years ago
I cannot reproduce the problem in Firefox24.0b8 and later. Fixed window(m-i) Bad: http://hg.mozilla.org/integration/mozilla-inbound/rev/5458a7880db5 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130619 Firefox/24.0 ID:20130619062021 Fixed: http://hg.mozilla.org/integration/mozilla-inbound/rev/259e68f8843d Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130619 Firefox/24.0 ID:20130619072522 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=5458a7880db5&tochange=259e68f8843d I guess this is fixed by Bug 841442