summaryrefslogtreecommitdiffstats
path: root/browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs')
-rw-r--r--browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs6
1 files changed, 3 insertions, 3 deletions
diff --git a/browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs b/browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs
index cdbb3aea53..48ae3b14b9 100644
--- a/browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs
+++ b/browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs
@@ -27,7 +27,7 @@ export class UrlbarSearchOneOffs extends SearchOneOffs {
this.view = view;
this.input = view.input;
lazy.UrlbarPrefs.addObserver(this);
- // Override the SearchOneOffs.jsm value for the Address Bar.
+ // Override the SearchOneOffs.sys.mjs value for the Address Bar.
this.disableOneOffsHorizontalKeyNavigation = true;
this._webEngines = [];
this.addEventListener("rebuild", this);
@@ -495,8 +495,8 @@ export class UrlbarSearchOneOffs extends SearchOneOffs {
* @param {Array} addEngines
* The engines that can be added.
*/
- _rebuildEngineList(engines, addEngines) {
- super._rebuildEngineList(engines, addEngines);
+ async _rebuildEngineList(engines, addEngines) {
+ await super._rebuildEngineList(engines, addEngines);
for (let { source, pref, restrict } of lazy.UrlbarUtils
.LOCAL_SEARCH_MODES) {