When the user opens Firefox and clicks into the address field, usually the whole string is highlighted. Entering any character will lead to the whole string getting replaced. The value of surrounding_text in fingerboard should be only the newly entered character now. At least for Firefox this is not the case. Firefox does not notify phoc of the replacement so phoc does not send a 'surrounding_text' event to fingerboard via the input_method protocol. Fingerboard assumes the new character was appended.
This is an issue of the application not notifying phoc and not so much of fingerboard.