diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /browser/components/urlbar/UrlbarSearchUtils.sys.mjs | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/urlbar/UrlbarSearchUtils.sys.mjs')
-rw-r--r-- | browser/components/urlbar/UrlbarSearchUtils.sys.mjs | 8 |
1 files changed, 1 insertions, 7 deletions
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<nsISearchEngine>} * 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 { |