summaryrefslogtreecommitdiffstats
path: root/browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs')
-rw-r--r--browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs6
1 files changed, 2 insertions, 4 deletions
diff --git a/browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs b/browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs
index 636524ea51..8cb3532d94 100644
--- a/browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs
+++ b/browser/components/urlbar/UrlbarProviderSearchSuggestions.sys.mjs
@@ -317,10 +317,8 @@ class ProviderSearchSuggestions extends UrlbarProvider {
/**
* Cancels a running query.
- *
- * @param {object} queryContext The query context object
*/
- cancelQuery(queryContext) {
+ cancelQuery() {
if (this._suggestionsController) {
this._suggestionsController.stop();
this._suggestionsController = null;
@@ -508,7 +506,7 @@ class ProviderSearchSuggestions extends UrlbarProvider {
trending: entry.trending,
description: entry.description || undefined,
query: [searchString.trim(), UrlbarUtils.HIGHLIGHT.NONE],
- icon: !entry.value ? engine.getIconURL() : entry.icon,
+ icon: !entry.value ? await engine.getIconURL() : entry.icon,
};
if (entry.trending) {