Open
Bug 980863
Opened 11 years ago
Updated 3 years ago
Hidden input value gets saved/restore on refresh
Categories
(Core :: DOM: Forms, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: mostyboy, Unassigned)
Details
(Whiteboard: DUPEME)
Attachments
(1 file)
862 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36
Steps to reproduce:
See the code attached that I got from here:
http://alexscordellis.blogspot.com.es/2010/06/firefox-autocomplete-plays-havoc-with.html
A hidden input has an initial value and is modified using javascript.
Actual results:
If the page gets refreshed using F5, the hidden input value does not have the original value but the setted one with javascript.
Expected results:
From the documentation presented here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input input hidden should ignore autocompletion and should mantain its original value to be consistent.
Summary: Hidden input gets autocompleted on refresh → Hidden input get autocompleted on refresh
![]() |
||
Comment 1•11 years ago
|
||
Refresh (as opposed to force-refresh) saves/restores the values of form controls. This has nothing to do with autocompletion.
Component: General → DOM: Core & HTML
Product: Firefox → Core
Summary: Hidden input get autocompleted on refresh → Hidden input value gets saved/restore on refresh
Whiteboard: DUPEME
Comment 2•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•4 years ago
|
Component: DOM: Core & HTML → DOM: Forms
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•