[Webkit-unassigned] [Bug 91209] New: Form state restore: Need to identify a form by its content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 13 02:51:26 PDT 2012


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

           Summary: Form state restore: Need to identify a form by its
                    content
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tkent at chromium.org
        Depends on: 89962
            Blocks: 23346


We'd like to resolve http://code.google.com/p/chromium/issues/detail?id=34351#c10 .

Suppose that the content of page-A is the following at frist:
----------------------------------------------------------------
<form action="PostAction" method="POST">
  <input type="hidden" naem="task" value="AAA">
  <input name="aaa_input1">
  <input name="aaa_input2>
</form>

<form action="PostAction" method="POST">
  <input type="hidden" naem="task" value="BBB">
  <input name="bbb_input1">
  <input name="bbb_input2>
</form>

<form action="PostAction" method="POST">
  <input type="hidden" naem="task" value="CCC">
  <input name="ccc_input1">
  <input name="ccc_input2>
</form>
----------------------------------------------------------------

1. Edit some fields
2. Navigate to another page
3. Browser cache for page-A was cleared, and the page-A is updated to the following:

----------------------------------------------------------------
<form action="PostAction" method="POST">
  <input type="hidden" naem="task" value="AAA">
  <input name="aaa_input1">
  <input name="aaa_input2>
</form>

<form action="PostAction" method="POST">
  <input type="hidden" naem="task" value="CCC">
  <input name="ccc_input1">
  <input name="ccc_input2>
</form>
----------------------------------------------------------------

In the current algorithm, we tries to restore form control states for the ex-2nd form to the current 2nd form.
In order to fix this issue, we need to identify a form by its content.

-- 
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