Name Description Size
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() 29445
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. 11673
UrlbarInput.jsm Implements the text input part of the address bar UI. 82005
UrlbarMuxerUnifiedComplete.jsm This module exports a component used to sort results in a UrlbarQueryContext. 4557
UrlbarPrefs.jsm This module exports the UrlbarPrefs singleton, which manages preferences for the urlbar. 14577
UrlbarProviderExtension.jsm This module exports a provider class that is used for providers created by extensions. 12794
UrlbarProviderInterventions.jsm A node in the QueryScorer's phrase tree. 25577
UrlbarProviderOpenTabs.jsm This module exports a provider, returning open tabs matches for the urlbar. It is also used to register and unregister open tabs. 7761
UrlbarProviderPrivateSearch.jsm This module exports a provider returning a private search entry. 4948
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. 16062
UrlbarProviderTopSites.jsm This module exports a provider returning the user's newtab Top Sites. 7183
UrlbarProviderUnifiedComplete.jsm This module exports a provider that wraps the existing UnifiedComplete component, it is supposed to be used as an interim solution while we rewrite the model providers in a more modular way. 12292
UrlbarProvidersManager.jsm This module exports a component used to register search providers and manage the connection between such providers and a UrlbarController. 17393
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. 10204
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. 12690
UrlbarUtils.jsm This module exports the UrlbarUtils singleton, which contains constants and helper functions that are useful to all components of the urlbar. 32596
UrlbarValueFormatter.jsm Applies URL highlighting and other styling to the text in the urlbar input, depending on the text. 15033
UrlbarView.jsm Receives and displays address bar autocomplete results. 50923
content 1
docs 7
moz.build 1195
tests 5
.eslintrc.js 1024