Ticket #750 (closed defect: fixed)
Parser 2 unit tests fail with timeout
| Reported by: | services.mozilla.com/openid/jono | Owned by: | mitcho.com |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | builtin-commands | Keywords: | try-to-reproduce |
| Cc: |
Description
For instance, "view source" is a multi-word command in English.
If I type "view" then I would expect the top suggestion to be "view source", but instead the top suggestion is "translate view" -- a noun-first match to the translate command.
If I type "view so" then the top hit is still "translate view so", but at least "view source" is in second place.
If I type "view sou", then at last "view source" becomes the top hit.
Something is screwy with the ranking algorithm if verb-first matches are getting ranked below noun-first matches. This only seems to happen with multi-word commands -- I have to type almost the whole name before my desired command becomes the first match.
This was working for me yesterday; I'm wondering if the change in 35f0e6f7a8ba caused the problem.
