WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 23346
Bug 53312
Back button populates data in wrong form fields
https://bugs.webkit.org/show_bug.cgi?id=53312
Summary
Back button populates data in wrong form fields
Galen Hollins
Reported
2011-01-28 10:55:58 PST
On Safari/Chrome, but not Firefox, the following problem occurs, which can ultimately cause data corruption (this has happened to me already in one of my sites). Here is an example:
http://jsfiddle.net/rwaldron/UvmDv/7/
Here is a more complete description of the problem:
http://stackoverflow.com/questions/4831785/back-button-bug-in-chrome-safari
Thanks, Galen
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-01-29 00:54:46 PST
Is this a duplicate of
bug 23346
?
Kent Tamura
Comment 2
2011-01-30 23:39:02 PST
(In reply to
comment #1
)
> Is this a duplicate of
bug 23346
?
This is a part of
Bug 23346
. It might be possible to make a workaround of this issue without a fundamental fix for
Bug 23346
.
Galen Hollins
Comment 3
2011-01-31 09:24:04 PST
Yes, this does seem to be part of
bug 23346
. There is a workaround that I was able to do in my code, which is to make sure that all elements have BOTH an "id" and a "name" attribute (each with the same value). That way the browser doesn't get confused about what form elements are what. I've posted the jsfiddle link test case on the other bug, just for reference. I am however concerned that the other but has an importance of "Normal". This bug has caused data corruption in one of my apps (via the back, then resubmit pattern), and therefore I think this problem should be classified as "Major". If it was merely a view-layer problem, things would be different, but this bug actually changes form fields, that in many cases may get resubmitted.
Galen Hollins
Comment 4
2011-01-31 09:24:21 PST
*** This bug has been marked as a duplicate of
bug 23346
***
Kent Tamura
Comment 5
2011-03-23 18:56:02 PDT
***
Bug 56937
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug