Comment #12 on issue 2914 by [email protected]: Wrong record displayed on "Search your history" box http://code.google.com/p/chromium/issues/detail?id=2914
I have roughly investigated this issue today. This page (*1) calls a custom JavaScript function 'chrome.send()' from a onsubmit handler of the form. This custom function (implemented in C++) directly use our NavigationController clas and changes to the 'search history' page. I suspect this function causes unexpected page transition (in terms of WebKit) and WebKit MAY NOT save the form value. In fact, when I change this onsubmit handler to pure JavaScript code which change the 'window.location' value (i.e. 'window.location = chrome-ui://search/#q=...;'), WebKit can save the form value and this issue does not happen. (*1) http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/resources/new_tab.html -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
