Open Bug 1562823 Opened 5 months ago Updated 5 months ago

Refactor inputhistory

Categories

(Firefox :: Address Bar, task, P3)

68 Branch
Desktop
All
task
Points:
5

Tracking

()

Iteration:
69.4 - Jun 24 - Jul 7

People

(Reporter: mak, Unassigned)

References

(Depends on 2 open bugs)

Details

Input history has a few defects and improvements we could do:

  1. the current scoring system requires a decay, we should use an exponential decay score instead and only have a daily removal
  2. it is storing urls in some cases, for example pressing DOWN on a valid url, and picking a non-heuristic. Storing urls is not useful, we should only be storing user typed text
  3. it has no limit, we should not be storing more than a certain amount of chars (bug 1391236)
  4. it stores input history for the empty string, that is not particularly useful once we change the empty string behavior
  5. the table could use WITHOUT ROWID (bug 977160)
Depends on: 1391236, 977160
Depends on: 1563260
You need to log in before you can comment on or make changes to this bug.