handle autocomplete events.
@Bug W-2391008@
Merging origin/ssun/master-pending-handleAutocompleteEvents into master