Even with "Remember Form Data" unchecked, fields are repopulated on page refresh




Form Manager
12 years ago
9 years ago


(Reporter: Shawn Tolidano, Unassigned)


Firefox Tracking Flags

(Not tracked)





12 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US

We have a number of applications with hidden inputs.  Whenever we refresh the page via Javascript, the data does NOT clear out.  For example, we have an expense report application that shows a weekly summary with the ability to open a popup to add entries.  Once the entry is added, the opener refreshes to reflect the change in the daily expense, but the value remains what it was prior to the refresh, even if the data being generated is different.  IE does not suffer from this.  If Firefox is closed and reopened, the data is cleared out.  This occurs even if the "Remember Form Data" option is unchecked in preferences.  This is a major issue for non-AJAX development paradigms.

Reproducible: Always

Steps to Reproduce:
1. Go to any page with a hidden or disabled text field
2. Refresh the page but use some kind of server-side language (php for example) to generate a new value for the text (using the value="<?php echo ... "> method or even generating javascript code on the fly)
3. You'll note the field value remains what it was prior to the refresh (assuming it was there on page load and not typed in afterwards)

Actual Results:  
?  See Details.

Expected Results:  
I don't care that it remembered the values (actually I do, especially if I turn the feature off) but what is important is that the NEW value which was FORCED in by PHP did not take and it continued to use the previous value until Firefox was REOPENED

I use the default theme.

There is nothing special about my PC, a plain vanilla XP Pro SP2 install with no strange applications of any kind.

I wanted to check off the Security thing, as I'm confident there are a number of exploits which could take advantage of such memory (especially on public access computers and the such) but I won't.

Comment 1

12 years ago
Related to/duplicate of Core bug 46845? See comments like bug 46845 comment 55, bug 46845 comment 150, bug 46845 comment 163 and bug 46845 comment 190.

*** This bug has been marked as a duplicate of 46845 ***
Last Resolved: 11 years ago
Resolution: --- → DUPLICATE


9 years ago
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.