summaryrefslogtreecommitdiffstats
path: root/browser/components/search/content/autocomplete-popup.js
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/search/content/autocomplete-popup.js
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/search/content/autocomplete-popup.js')
-rw-r--r--browser/components/search/content/autocomplete-popup.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/browser/components/search/content/autocomplete-popup.js b/browser/components/search/content/autocomplete-popup.js
index 2c84bf8cd7..c5a33348ff 100644
--- a/browser/components/search/content/autocomplete-popup.js
+++ b/browser/components/search/content/autocomplete-popup.js
@@ -18,7 +18,7 @@
constructor() {
super();
- this.addEventListener("popupshowing", event => {
+ this.addEventListener("popupshowing", () => {
// First handle deciding if we are showing the reduced version of the
// popup containing only the preferences button. We do this if the
// glass icon has been clicked if the text field is empty.
@@ -47,7 +47,7 @@
);
});
- this.addEventListener("popuphiding", event => {
+ this.addEventListener("popuphiding", () => {
this._oneOffButtons.removeEventListener(
"SelectedOneOffButtonChanged",
this
@@ -232,7 +232,7 @@
}
}
- let uri = engine.getIconURL();
+ let uri = await engine.getIconURL();
if (uri) {
this.setAttribute("src", uri);
} else {