From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'browser/components/urlbar/UrlbarProviderQuickActions.sys.mjs') 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 ( -- cgit v1.2.3