Bug 1858549 - Remove the quickSuggestRemoteSettingsEnabled Nimbus variable and fallback pref. r=daisuke
Depends on D190742 Differential Revision: https://phabricator.services.mozilla.com/D190745
This commit is contained in:
@@ -150,13 +150,12 @@ class ProviderQuickSuggest extends UrlbarProvider {
|
||||
let instance = this.queryInstance;
|
||||
let searchString = this._trimmedSearchString;
|
||||
|
||||
// There are two sources for quick suggest: remote settings and Merino.
|
||||
// There are two sources for quick suggest: the current remote settings
|
||||
// backend (either JS or Rust) and Merino.
|
||||
let promises = [];
|
||||
if (lazy.UrlbarPrefs.get("quickSuggestRemoteSettingsEnabled")) {
|
||||
let { backend } = lazy.QuickSuggest;
|
||||
if (backend?.isEnabled) {
|
||||
promises.push(backend.query(searchString));
|
||||
}
|
||||
let { backend } = lazy.QuickSuggest;
|
||||
if (backend?.isEnabled) {
|
||||
promises.push(backend.query(searchString));
|
||||
}
|
||||
if (
|
||||
lazy.UrlbarPrefs.get("merinoEnabled") &&
|
||||
|
||||
Reference in New Issue
Block a user