Name Description Size Coverage
.eslintrc.mjs 343 -
ActionsProvider.sys.mjs A provider that matches the urlbar input to built in actions. 3642 -
ActionsProviderContextualSearch.sys.mjs A provider that returns an option for using the search engine provided by the active view if it utilizes OpenSearch. 12099 -
ActionsProviderQuickActions.sys.mjs @typedef QuickActionsDefinition @property {string[]} commands The possible typed entries that this command will be displayed for. @property {string} icon The URI of the icon associated with this command. @property {string} label The id of the label for the result element. @property {() => boolean} [isVisible] A function to call to check if this action should be visible or not. @property {() => null|{focusContent: boolean}} onPick The function to call when the quick action is picked. It may return an object with property focusContent to indicate if the content area should be focussed after the pick. 5876 -
ActionsProviderTabGroups.sys.mjs A provider that matches the urlbar input to built in actions. 4576 -
content -
docs -
jar.mn 574 -
MerinoClient.sys.mjs @import {SkippableTimer} from "moz-src:///browser/components/urlbar/UrlbarUtils.sys.mjs" @import {OHTTPResponse} from "resource://gre/modules/ObliviousHTTP.sys.mjs" 22339 -
metrics.yaml 55998 -
moz.build 4091 -
pings.yaml 3436 -
private -
QuickActionsLoaderDefault.sys.mjs 12036 -
QuickSuggest.sys.mjs @typedef {[string[], boolean|number]} RegionLocaleDefault The first element is an array of locales (e.g. "en-US"), the second is the value of the preference. 41232 -
schema -
SearchModeSwitcher.sys.mjs Implements the SearchModeSwitcher in the urlbar. 17283 -
SmartbarMentionsPanelSearch.sys.mjs @type {const} 4648 -
tests -
triage.json 3941 -
tsconfig.json 517 -
types -
unitconverters -
UrlbarController.sys.mjs @import {ProvidersManager} from "moz-src:///browser/components/urlbar/UrlbarProvidersManager.sys.mjs" @import {UrlbarView} from "moz-src:///browser/components/urlbar/UrlbarView.sys.mjs" 64200 -
UrlbarEventBufferer.sys.mjs Array of keyCodes to defer. @type {Set<number>} 13151 -
UrlbarMuxerStandard.sys.mjs This module exports a component used to sort results in a UrlbarQueryContext. 57712 -
UrlbarPrefs.sys.mjs This module exports the UrlbarPrefs singleton, which manages preferences for the urlbar. It also provides access to urlbar Nimbus variables as if they are preferences, but only for variables with fallback prefs. 52424 -
UrlbarProviderAboutPages.sys.mjs This module exports a provider that offers about pages. 2174 -
UrlbarProviderActionsSearchMode.sys.mjs This module exports a provider that returns all the available actions for an actions search mode. 3224 -
UrlbarProviderAiChat.sys.mjs Determine if two strings are unrelated for debounce purposes. @param {string} str1 @param {string} str2 @returns {boolean} True if the strings are unrelated enough. 8433 -
UrlbarProviderAliasEngines.sys.mjs This module exports a provider that offers engines with aliases as heuristic results. 2452 -
UrlbarProviderAutofill.sys.mjs This module exports a provider that provides an autofill result. 35745 -
UrlbarProviderBookmarkKeywords.sys.mjs This module exports a provider that offers bookmarks with keywords. 3007 -
UrlbarProviderCalculator.sys.mjs A provider that returns a suggested url to the user based on what they have currently typed so they can navigate directly. 13687 -
UrlbarProviderClipboard.sys.mjs A provider that returns a suggested url to the user based on a valid URL stored in the clipboard. 4198 -
UrlbarProviderGlobalActions.sys.mjs This module exports a provider that returns all the available global actions for a query. 7044 -
UrlbarProviderHeuristicFallback.sys.mjs This module exports a provider that provides a heuristic result. The result either vists a URL or does a search with the current engine. This result is always the ultimate fallback for any query, so this provider is always active. 11264 -
UrlbarProviderHistoryUrlHeuristic.sys.mjs This module exports a provider that provides a heuristic result. The result will be provided if the query requests the URL and the URL is in Places with the page title. 3838 -
UrlbarProviderInputHistory.sys.mjs This module exports a provider that offers input history (aka adaptive history) results. These results map typed search strings to Urlbar results. That way, a user can find a particular result again by typing the same string. 8779 -
UrlbarProviderInterventions.sys.mjs A node in the QueryScorer's phrase tree. 28378 -
UrlbarProviderOmnibox.sys.mjs This module exports a provider class that is used for providers created by extensions using the `omnibox` API. 5422 -
UrlbarProviderOpenTabs.sys.mjs This module exports a provider, returning open tabs matches for the urlbar. It is also used to register and unregister open tabs. 13477 -
UrlbarProviderPlaces.sys.mjs eslint complexity: ["error", 53] 55760 -
UrlbarProviderPrivateSearch.sys.mjs This module exports a provider returning a private search entry. 3786 -
UrlbarProviderQuickSuggest.sys.mjs A provider that returns a suggested url to the user based on what they have currently typed so they can navigate directly. 20679 -
UrlbarProviderQuickSuggestContextualOptIn.sys.mjs This module exports a provider that offers a search engine when the user is typing a search engine domain. 9373 -
UrlbarProviderRecentSearches.sys.mjs This module exports a provider returning the user's recent searches. 5222 -
UrlbarProviderRemoteTabs.sys.mjs This module exports a provider that offers remote tabs. 7740 -
UrlbarProviderRestrictKeywords.sys.mjs This module exports a provider that offers restrict keywords for search mode. 2446 -
UrlbarProviderRestrictKeywordsAutofill.sys.mjs This module exports a provider that offers restrict keywords autofill for search mode. 6200 -
UrlbarProviderSearchSuggestions.sys.mjs This module exports a provider that offers search engine suggestions. 21930 -
UrlbarProviderSearchTips.sys.mjs This module exports a provider that might show a tip when the user opens the newtab or starts an organic search with their default search engine. 16007 -
UrlbarProviderSemanticHistorySearch.sys.mjs This module exports a provider that offers search history suggestions based on embeddings and semantic search techniques using semantic history 8627 -
UrlbarProvidersManager.sys.mjs This module exports a component used to register search providers and manage the connection between such providers and a UrlbarController. 36501 -
UrlbarProviderTabToSearch.sys.mjs This module exports a provider that offers a search engine when the user is typing a search engine domain. 12603 -
UrlbarProviderTokenAliasEngines.sys.mjs This module exports a provider that offers token alias engines. 7016 -
UrlbarProviderTopSites.sys.mjs This module exports a provider returning the user's newtab Top Sites. 12839 -
UrlbarProviderUnitConversion.sys.mjs Provide unit converter. 4490 -
UrlbarResult.sys.mjs This module exports a urlbar result class, each representing a single result found by a provider that can be passed from the model to the view through the controller. It is mainly defined by a result type, and a payload, containing the data. A few getters allow to retrieve information common to all the result types. 14067 -
UrlbarSearchOneOffs.sys.mjs @import {LegacySearchOneOffButton} from "moz-src:///browser/components/search/SearchOneOffs.sys.mjs" @import {UrlbarView} from "moz-src:///browser/components/urlbar/UrlbarView.sys.mjs" 11168 -
UrlbarSearchTermsPersistence.sys.mjs @import {RemoteSettingsClient} from "resource://services-settings/RemoteSettingsClient.sys.mjs" 15822 -
UrlbarSearchUtils.sys.mjs Search service utilities for urlbar. The only reason these functions aren't a part of UrlbarUtils is that we want O(1) case-insensitive lookup for search aliases, and to do that we need to observe the search service, persistent state, and an init method. A separate object is easier. 13856 -
UrlbarTokenizer.sys.mjs This module exports a tokenizer to be used by the urlbar model. Emitted tokens are objects in the shape { type, value }, where type is one of UrlbarTokenizer.TYPE. 11793 -
UrlbarUtils.sys.mjs This module exports the UrlbarUtils singleton, which contains constants and helper functions that are useful to all components of the urlbar. 121477 -
UrlbarValueFormatter.sys.mjs Applies URL highlighting and other styling to the text in the urlbar input, depending on the text. 20969 -
UrlbarView.sys.mjs @import {ProvidersManager} from "UrlbarProvidersManager.sys.mjs" 141803 -