Closed Bug 1500138 Opened 2 years ago Closed 2 years ago
.match Behavior and merge some of the behaviors
46 bytes, text/x-phabricator-request
|Details | Review|
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 firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/095cb0042729 Remove browser.urlbar.matchBehavior and some unused Address Bar behaviors. r=adw
You need to log in before you can comment on or make changes to this bug.