Name Description Size
content 7
docs 13
jar.mn 695
moz.build 2069
tests 7
unitconverters 4
UrlbarController.jsm The address bar controller handles queries from the address bar, obtains results and returns them to the UI for display. Listeners may be added to listen for the results. They may support the following methods which may be called when a query is run: - onQueryStarted(queryContext) - onQueryResults(queryContext) - onQueryCancelled(queryContext) - onQueryFinished(queryContext) - onQueryResultRemoved(index) - onViewOpen() - onViewClose() 30999
UrlbarEventBufferer.jsm The UrlbarEventBufferer can queue up events and replay them later, to make the urlbar results more predictable. Search results arrive asynchronously, which means that keydown events may arrive before results do, and therefore not have the effect the user intends. That's especially likely to happen with the down arrow and enter keys, due to the one-off search buttons: if the user very quickly pastes something in the input, presses the down arrow key, and then hits enter, they are probably expecting to visit the first result. But if there are no results, then pressing down and enter will trigger the first one-off button. To prevent that undesirable behavior, certain keys are buffered and deferred until more results arrive, at which time they're replayed. 12632
UrlbarInput.jsm Implements the text input part of the address bar UI. 127195
UrlbarMuxerUnifiedComplete.jsm This module exports a component used to sort results in a UrlbarQueryContext. 41787
UrlbarPrefs.jsm 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. 42764
UrlbarProviderAboutPages.jsm This module exports a provider that offers about pages. 2736
UrlbarProviderAliasEngines.jsm This module exports a provider that offers engines with aliases as heuristic results. 2878
UrlbarProviderAutofill.jsm This module exports a provider that provides an autofill result. 27456
UrlbarProviderBookmarkKeywords.jsm This module exports a provider that offers bookmarks with keywords. 3472
UrlbarProviderCalculator.jsm A provider that returns a suggested url to the user based on what they have currently typed so they can navigate directly. 11316
UrlbarProviderExtension.jsm This module exports a provider class that is used for providers created by extensions. 13943
UrlbarProviderHeuristicFallback.jsm 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. 11487
UrlbarProviderInputHistory.jsm 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. 7632
UrlbarProviderInterventions.jsm A node in the QueryScorer's phrase tree. 28516
UrlbarProviderOmnibox.jsm This module exports a provider class that is used for providers created by extensions using the `omnibox` API. 5747
UrlbarProviderOpenTabs.jsm This module exports a provider, returning open tabs matches for the urlbar. It is also used to register and unregister open tabs. 8128
UrlbarProviderPlaces.jsm eslint complexity: ["error", 53] 52492
UrlbarProviderPreloadedSites.jsm This module exports a provider that provides preloaded site results. These are intended to populate address bar results when the user has no history. They can be both autofilled and provided as regular results. 9417
UrlbarProviderPrivateSearch.jsm This module exports a provider returning a private search entry. 4238
UrlbarProviderQuickSuggest.jsm A provider that returns a suggested url to the user based on what they have currently typed so they can navigate directly. 23386
UrlbarProviderRemoteTabs.jsm This module exports a provider that offers remote tabs. 7719
UrlbarProviderSearchSuggestions.jsm This module exports a provider that offers search engine suggestions. 16637
UrlbarProviderSearchTips.jsm 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. 17657
UrlbarProvidersManager.jsm This module exports a component used to register search providers and manage the connection between such providers and a UrlbarController. 26238
UrlbarProviderTabToSearch.jsm This module exports a provider that offers a search engine when the user is typing a search engine domain. 15720
UrlbarProviderTokenAliasEngines.jsm This module exports a provider that offers token alias engines. 7221
UrlbarProviderTopSites.jsm This module exports a provider returning the user's newtab Top Sites. 11034
UrlbarProviderUnitConversion.jsm Provide unit converter. 4905
UrlbarQuickSuggest.jsm Fetches the suggestions data from RemoteSettings and builds the tree to provide suggestions for UrlbarProviderQuickSuggest. 20743
UrlbarResult.jsm 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. 12988
UrlbarSearchOneOffs.jsm The one-off search buttons in the urlbar. 10986
UrlbarSearchUtils.jsm 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. 11477
UrlbarTokenizer.jsm 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. 14080
UrlbarUtils.jsm This module exports the UrlbarUtils singleton, which contains constants and helper functions that are useful to all components of the urlbar. 70288
UrlbarValueFormatter.jsm Applies URL highlighting and other styling to the text in the urlbar input, depending on the text. 16657
UrlbarView.jsm Receives and displays address bar autocomplete results. 86377
.eslintrc.js 1024