Closed
Bug 496470
Opened 15 years ago
Closed 15 years ago
search field on Gmail doesn't save form history
Categories
(Toolkit :: Form Manager, defect)
Toolkit
Form Manager
Tracking
()
RESOLVED
INVALID
People
(Reporter: Dolske, Assigned: MattN)
Details
sayrer noticed that the Gmail search field was triggering form history DB searches, but no results ever show up. The immediate reason for this is that no results are in form history (the fieldName is ":ra"), but the real question is why these values are not being saved. If I manually store a result in formhistory.sqlite, I do get an autocomplete dropdown containing that entry. There's no autocomplete=off on the field, and I do see nsStorageFormHistory::Notify being called. It iterates through a number of form elements in the submitted form, but doesn't seem to attempt saving any of them. Over to MattN to investigate what's happening here.
Assignee | ||
Comment 1•15 years ago
|
||
After some investigation, I have found that the search field (with name ":ra") is not being submitted directly. From what I can tell, a form with hidden input fields is being constructed with JS dynamically and that is what is being submitted. The search term is actually being sent in a hidden <input> with a different name ("q") than the search field (":ra"). Since we only save input fields of type "text" and the field name that is getting submitted does not even match the search field I'm marking this bug as invalid.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•