Bug 30607 - Input type="search" recent searches is clobbered when there are 2 or more fields in a doc with the same autosave attribute value
Summary: Input type="search" recent searches is clobbered when there are 2 or more fie...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2009-10-20 16:47 PDT by Matt Gaddis
Modified: 2011-09-29 16:55 PDT (History)
2 users (show)

See Also:


Attachments
Simple php file that recreates the regression (854 bytes, text/php)
2009-10-20 16:47 PDT, Matt Gaddis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Gaddis 2009-10-20 16:47:28 PDT
Created attachment 41535 [details]
Simple php file that recreates the regression 

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

I'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 "1" in the "Search Form" field and submit via enter key
3. observe "recent searches" for both fields as a list containing "1"
4. Enter "2" in the "Everest Box" field and submit via enter key
5. observe "recent searches" for both fields as it should be a list containing "1, 2". With a fairly high rate of reproducibility it will just be "2"


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.
Comment 1 Mark Rowe (bdash) 2009-10-20 18:32:29 PDT
<rdar://problem/7321604>