Input removed from document is not removed from form properties

RESOLVED DUPLICATE of bug 841442

Status

()

Core
DOM: Core & HTML
RESOLVED DUPLICATE of bug 841442
12 years ago
4 years ago

People

(Reporter: Mike Caines, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
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
(Reporter)

Comment 1

12 years ago
Created attachment 195176 [details]
testcase
(Reporter)

Comment 2

12 years ago
This behaviour is evident in Firefox 1.04 on OSX

Comment 3

12 years ago
This is quite similar to bug 100499, same cause?

Comment 4

11 years ago
Bug 377413 is very similar to this bug.

Updated

9 years ago
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general

Updated

9 years ago
Duplicate of this bug: 449225

Updated

9 years ago
Duplicate of this bug: 412529

Updated

9 years ago
Duplicate of this bug: 373322

Comment 8

9 years ago
I observe this behavior on Firefox 2.0.0.16 on Windows. Holla.

Updated

9 years ago
Duplicate of this bug: 460955

Comment 10

9 years ago
I can reproduce this bug using Firefox trunk on Mac.
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Depends on: 100499
Assignee: general → nobody

Comment 11

6 years ago
I hope I won't surprise anybody if this bug is still present as of 9.0a2 :-)
Blocks: 718420

Updated

6 years ago
Duplicate of this bug: 736291

Comment 13

4 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

Updated

4 years ago
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Flags: in-testsuite?
Resolution: --- → DUPLICATE
Duplicate of bug: 841442
You need to log in before you can comment on or make changes to this bug.