summaryrefslogtreecommitdiffstats
path: root/browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs')
-rw-r--r--browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs4
1 files changed, 1 insertions, 3 deletions
diff --git a/browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs b/browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs
index 83eea9fcf6..f199b6b892 100644
--- a/browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs
+++ b/browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs
@@ -40,9 +40,6 @@ class ProviderQuickActions extends UrlbarProvider {
constructor() {
super();
lazy.UrlbarResult.addDynamicResultType(DYNAMIC_TYPE_NAME);
- Services.tm.idleDispatchToMainThread(() =>
- lazy.QuickActionsLoaderDefault.load()
- );
}
/**
@@ -97,6 +94,7 @@ class ProviderQuickActions extends UrlbarProvider {
* @returns {Promise}
*/
async startQuery(queryContext, addCallback) {
+ await lazy.QuickActionsLoaderDefault.ensureLoaded();
let input = queryContext.trimmedSearchString.toLowerCase();
if (