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/UrlbarSearchUtils.sys.mjs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'browser/components/urlbar/UrlbarSearchUtils.sys.mjs') diff --git a/browser/components/urlbar/UrlbarSearchUtils.sys.mjs b/browser/components/urlbar/UrlbarSearchUtils.sys.mjs index c574e8f139..30cbdb73c4 100644 --- a/browser/components/urlbar/UrlbarSearchUtils.sys.mjs +++ b/browser/components/urlbar/UrlbarSearchUtils.sys.mjs @@ -65,16 +65,10 @@ class SearchUtils { * Match at each sub domain, for example "a.b.c.com" will be matched at * "a.b.c.com", "b.c.com", and "c.com". Partial matches are always returned * after perfect matches. - * @param {boolean} [options.onlyEnabled] - * Match only engines that have not been disabled on the Search Preferences - * list. * @returns {Array} * An array of all matching engines. An empty array if there are none. */ - async enginesForDomainPrefix( - prefix, - { matchAllDomainLevels = false, onlyEnabled = false } = {} - ) { + async enginesForDomainPrefix(prefix, { matchAllDomainLevels = false } = {}) { try { await this.init(); } catch { -- cgit v1.2.3