Closed
Bug 421103
Opened 16 years ago
Closed 16 years ago
HTML select , selected value changes when clicking refresh multiple times
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 201056
People
(Reporter: jduval, Unassigned)
Details
(Keywords: testcase)
Attachments
(2 files, 2 obsolete files)
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 When clicking the refresh browser button the html select, selected value changes even thou the html never changed. Tested in IE 6, 7, and Opera 9.26 all worked as expected. Bug present in FF 2.0.0.12 and also FF beta 3. Confirmed in #firefox [11:43] <jerry> stevee: http://rafb.net/p/SOSylQ54.html load the html and just click the refresh button, watch the dropdown's change [11:44] <stevee> jerry cute [11:45] <jerry> you see it too? [11:45] <stevee> I see the same on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008030504 Minefield/3.0b5pre ID:2008030504 [11:45] <jerry> so you agree it's a big bug [11:45] <stevee> first combo goes closed > shipped > credit hold, second shipped > credit hold [11:45] <stevee> I agree it looks like a bug Reproducible: Always Steps to Reproduce: 1.Download the attached HTML, load in browser 2.Click the browser refresh button multiple times 3.Watch the dropdown selected value change for no reason Actual Results: Dropdown selected value changes Expected Results: Dropdown selected value should not change because of a screen refresh, the html was static This is a major issue since it changes form data for no apparent reason and cause data loss.
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
Addtional note adding the autocomplete="off" to the <form element gets the expects results, but I'm sure users will complain about disabling this feature
Updated•16 years ago
|
Severity: critical → normal
Version: unspecified → Trunk
Reporter | ||
Comment 3•16 years ago
|
||
same test case with less html
Attachment #307499 -
Attachment is obsolete: true
Comment 4•16 years ago
|
||
I wonder if this is due to the fact that while the id values change, the name value of all the select elements are the same. Could that be confusing the autocomplete algorithm? --> Firefox::Form Manager
Status: UNCONFIRMED → NEW
Component: General → Form Manager
Ever confirmed: true
Reporter | ||
Comment 5•16 years ago
|
||
Ah, Mike you are correct. If you change the name of the select to be unique it works as expected. Should the autocomplete algorithm should be looking at id instead of name, at least in a table?
Reporter | ||
Comment 6•16 years ago
|
||
same test case just samller
Attachment #307513 -
Attachment is obsolete: true
Updated•16 years ago
|
QA Contact: general → form.manager
Reporter | ||
Comment 7•16 years ago
|
||
Updated•16 years ago
|
Component: Form Manager → DOM: HTML
Product: Firefox → Core
QA Contact: form.manager → general
Comment 8•16 years ago
|
||
This is basically the same as bug 201056.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Comment 9•16 years ago
|
||
Oh, and giving all the selects involved different names will prevent this from happening...
You need to log in
before you can comment on or make changes to this bug.
Description
•