<?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>30607</bug_id>
          
          <creation_ts>2009-10-20 16:47:28 -0700</creation_ts>
          <short_desc>Input type=&quot;search&quot; recent searches is clobbered when there are 2 or more fields in a doc with the same autosave attribute value</short_desc>
          <delta_ts>2011-09-29 16:55:10 -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>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Gaddis">gaddis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jonlee</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>156340</commentid>
    <comment_count>0</comment_count>
      <attachid>41535</attachid>
    <who name="Matt Gaddis">gaddis</who>
    <bug_when>2009-10-20 16:47:28 -0700</bug_when>
    <thetext>Created attachment 41535
Simple php file that recreates the regression 

In a document with 2 or more identical input type=search fields the &quot;recent searches&quot; values periodically are clobbered.

I&apos;ve attached a bare-bones php page to test the concept which basically recreates the situation we have on store.apple.com. 

How to recreate:
1. Open the attached test_search.php on localhost.
2. Enter &quot;1&quot; in the &quot;Search Form&quot; field and submit via enter key
3. observe &quot;recent searches&quot; for both fields as a list containing &quot;1&quot;
4. Enter &quot;2&quot; in the &quot;Everest Box&quot; field and submit via enter key
5. observe &quot;recent searches&quot; for both fields as it should be a list containing &quot;1, 2&quot;. With a fairly high rate of reproducibility it will just be &quot;2&quot;


Observed Results
The issue is reproducible by alternating submission of the two forms. Its not always consistent when it happens. The effect has been observed in the latest nightly of WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156380</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-10-20 18:32:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/7321604&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>41535</attachid>
            <date>2009-10-20 16:47:28 -0700</date>
            <delta_ts>2009-10-20 16:47:28 -0700</delta_ts>
            <desc>Simple php file that recreates the regression </desc>
            <filename>test_search.php</filename>
            <type>text/php</type>
            <size>854</size>
            <attacher name="Matt Gaddis">gaddis</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs
Ly9FTiIKICAgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI+Cgo8aHRtbCBs
YW5nPSJlbiI+CjxoZWFkPgoJPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50
PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPgoJPHRpdGxlPnVudGl0bGVkPC90aXRsZT4KCTxt
ZXRhIG5hbWU9ImdlbmVyYXRvciIgY29udGVudD0iVGV4dE1hdGUgaHR0cDovL21hY3JvbWF0ZXMu
Y29tLyI+Cgk8bWV0YSBuYW1lPSJhdXRob3IiIGNvbnRlbnQ9Ik1hdHRoZXcgR2FkZGlzIj4KCTwh
LS0gRGF0ZTogMjAwOS0xMC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