summaryrefslogtreecommitdiffstats
path: root/browser/components/urlbar/UrlbarProviderAliasEngines.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/urlbar/UrlbarProviderAliasEngines.sys.mjs')
-rw-r--r--browser/components/urlbar/UrlbarProviderAliasEngines.sys.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/browser/components/urlbar/UrlbarProviderAliasEngines.sys.mjs b/browser/components/urlbar/UrlbarProviderAliasEngines.sys.mjs
index 77ed07f13c..d80f3e055d 100644
--- a/browser/components/urlbar/UrlbarProviderAliasEngines.sys.mjs
+++ b/browser/components/urlbar/UrlbarProviderAliasEngines.sys.mjs
@@ -72,6 +72,7 @@ class ProviderAliasEngines extends UrlbarProvider {
alias,
queryContext.searchString
);
+ let icon = await engine?.getIconURL();
if (!engine || instance != this.queryInstance) {
return;
}
@@ -83,7 +84,7 @@ class ProviderAliasEngines extends UrlbarProvider {
engine: engine.name,
keyword: alias,
query: query.trimStart(),
- icon: engine.getIconURL(),
+ icon,
})
);
result.heuristic = true;