The autocomplete widget fires a onStartLookup() whenever the urlbar is set a value using urlbar.setAttribute() && the urlbar has focus. It should fire the call only for keypress events.
I cannot use keypress events else autocomplete won't work with IME. However, I can ignore those oninput events that are generated when setting the value of the text field. I nominate this bug for beta3 as it disturbes the urlbar of the browser. This problem will start affecting the browser url bar when Radha checkin the fix for bug 41775.
Radha, can you try the patch to see if you are satified with it. Thanks
this got fixed last week
No, it has not yet been checked in.
*** Bug 47397 has been marked as a duplicate of this bug. ***
Go ahead, nsbeta3+
Fixed and checked in
verified patch is in (cvs version 1.201)
removing mail2 keyword.