| Index: chrome/browser/autocomplete_history_manager.cc | 
| =================================================================== | 
| --- chrome/browser/autocomplete_history_manager.cc	(revision 55660) | 
| +++ chrome/browser/autocomplete_history_manager.cc	(working copy) | 
| @@ -147,6 +147,10 @@ | 
| if (profile_->IsOffTheRecord()) | 
| return; | 
|  | 
| +  // Don't save data that was submitted through JavaScript. | 
| +  if (!form.user_submitted) | 
| +    return; | 
| + | 
| // We put the following restriction on stored FormFields: | 
| //  - non-empty name | 
| //  - non-empty value | 
|  |