<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>53312</bug_id>
          
          <creation_ts>2011-01-28 10:55:58 -0800</creation_ts>
          <short_desc>Back button populates data in wrong form fields</short_desc>
          <delta_ts>2011-03-23 18:56:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>23346</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>23346</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Galen Hollins">ghollins</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>beliveap</cc>
    
    <cc>ghollins</cc>
    
    <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>341529</commentid>
    <comment_count>0</comment_count>
    <who name="Galen Hollins">ghollins</who>
    <bug_when>2011-01-28 10:55:58 -0800</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>342048</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-01-29 00:54:46 -0800</bug_when>
    <thetext>Is this a duplicate of bug 23346?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>342481</commentid>
    <comment_count>2</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-01-30 23:39:02 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>342609</commentid>
    <comment_count>3</comment_count>
    <who name="Galen Hollins">ghollins</who>
    <bug_when>2011-01-31 09:24:04 -0800</bug_when>
    <thetext>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 &quot;id&quot; and a &quot;name&quot; attribute (each with the same value).   That way the browser doesn&apos;t get confused about what form elements are what.  I&apos;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 &quot;Normal&quot;.  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 &quot;Major&quot;.   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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>342611</commentid>
    <comment_count>4</comment_count>
    <who name="Galen Hollins">ghollins</who>
    <bug_when>2011-01-31 09:24:21 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 23346 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>372610</commentid>
    <comment_count>5</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-03-23 18:56:02 -0700</bug_when>
    <thetext>*** Bug 56937 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>