[Webkit-unassigned] [Bug 23346] Restore form control values to a wrong form

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 29 07:36:26 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=23346





--- Comment #12 from benjie at lablife.org  2010-03-29 07:36:25 PST ---
An addition to the last paragraph of comment 11. I propose that, short of using
the content-hash approach to determine if HTML has changed, you patch the code
to

1. Not fill in hidden and submit form elements, if the value you want to fill
is different from the pre-set value from the HTML, AND

2. Never fill in value for a field of a form, no matter what type of the field
is, if there is a hidden or submit form element in the form that failed
condition 1.

This is still just a stop-gap measure. The real fix is either NOT reloading
page on back button, or determine if HTML for the form has changed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list