Closed Bug 1500138 Opened 6 years ago Closed 6 years ago

Remove urlbar.matchBehavior and merge some of the behaviors

Categories

(Firefox :: Address Bar, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: mak, Assigned: mak)

References

Details

(Whiteboard: [fxsearch])

Attachments

(1 file)

browser.urlbar.matchBehavior is a pref that allows, by setting obscure values, to change the matching mode of the urlbar. possible values are: MATCH_ANYWHERE, MATCH_BOUNDARY_ANYWHERE, MATCH_BOUNDARY, MATCH_BEGINNING, MATCH_BEGINNING_CASE_SENSITIVE, exposed by mozIPlacesAutoComplete. A few of these are not used, others can be merged. All of this complicates things, and the outcome is not much clear, we don't experiment with these from a long long time, and the default behavior always satisfied users needs. All that we need is: 1. Search on boundary and then, if not enough results were found) everywhere 2. search unmodified strings (no trimming)
Remove browser.urlbar.matchBehavior pref. Remove code for BEGINNING behaviors, and stop referencing MATCH_BOUNDARY_ANYWHERE from our code.
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/095cb0042729 Remove browser.urlbar.matchBehavior and some unused Address Bar behaviors. r=adw
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Depends on: 1502728
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: