[Webkit-unassigned] [Bug 23346] Restore form control values to a wrong form
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Apr 3 07:37:31 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=23346
--- Comment #28 from TAMURA, Kent <tkent at chromium.org> 2010-04-03 07:37:30 PST ---
(In reply to comment #25)
> No, don't think form hashes will work in our case:
My current plan is that the form hash is a hash value of the following
information:
* form/@action, form/@method, form/@enctype
* for each of form controls
- @type
- @name
and it doesn't contain other attributes of <input> including @value, text
nodes, non-control elements.
So, the following A and B will be equivalent, but C won't be equivalent with
others.
Does this make sense?
A:
<form action="foo.cgi" id=form1>
<input type=hidden value=session12345>
Username: <input type=text name=user>
Password: <input type=password name=password>
</form>
B:
<form action="foo.cgi" id=form2>
<input type=hidden value=session98765>
Your name: <input type=text name=user>
PIN: <input type=password name=password>
</form>
C:
<form action="foo.cgi" id=form1>
<input type=hidden value=session4567>
Username: <input type=text name=user>
Password: <input type=password name=password>
<input type=checkbox name=remember>Remember me.
</form>
--
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