Bug 1557302 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Marco Bonardo [::mak] from comment #3)
> There is also an edge case we don't handle, having 2 aliases where one contains the other, like @google and @google-two, we should not autofill the latter until - is typed, but aliases are not sorted, we just pick the first engine that matches. 

Tethinking about this, the user has control over the order of engines, and we get the list of engines from the search service in that order, so doing internal sorting may break expectations, we can just rely on the user's choice.
(In reply to Marco Bonardo [::mak] from comment #3)
> There is also an edge case we don't handle, having 2 aliases where one contains the other, like @google and @google-two, we should not autofill the latter until - is typed, but aliases are not sorted, we just pick the first engine that matches. 

Rethinking about this, the user has control over the order of engines, and we get the list of engines from the search service in that order, so doing internal sorting may break expectations, we can just rely on the user's choice.

Back to Bug 1557302 Comment 4