Search Service
This is documentation for the Search Service.
Definitions
Application-provided engines (aka app-provided): These are engines provided by the application to the user as part of the configurations for the user’s locale/region.
Application default engine: The engine automatically selected by the application as default, in the absence of user settings.
Default engine: This is the engine that is the one used by default when doing searches from the address bar, search bar and other places. This may be the application default engine or an user selected engine.
Default private engine: Same as for the default engine, but this is used by default when in private browsing mode.
Contents
Contents for search-config (archived)
API Reference
- SearchService Reference
SearchService
SearchService.SearchService
SearchService._cachedSortedEngines
SearchService._engines
SearchService._reloadingEngines
SearchService._searchDefault
SearchService.appDefaultEngine
SearchService.appPrivateDefaultEngine
SearchService.dontSetUseSavedOrder
SearchService.engineSelector
SearchService.errorToThrowInTest
SearchService.extensionsToRemove
SearchService.hasSuccessfullyInitialized
SearchService.initDeferredPromise
SearchService.initializationStatus
SearchService.isInitialized
SearchService.loadPathIgnoreList
SearchService.maybeReloadDebounce
SearchService.observersAdded
SearchService.openSearchUpdateTimerStarted
SearchService.parseSubmissionMap
SearchService.promiseInitialized
SearchService.searchPrivateDefault
SearchService.startupExtensions
SearchService.startupRemovedExtensions
SearchService.submissionURLIgnoreList
SearchService._getEngineDefault()
SearchService._maybeReloadEngines()
SearchService._reloadEngines()
SearchService._showRemovalOfSearchEngineNotificationBox()
SearchService.addEnginesFromExtension()
SearchService.addUserEngine()
SearchService.getEngineById()
SearchService.getEngineByName()
SearchService.init()
SearchService.notify()
SearchService.reset()
SearchService.runBackgroundChecks()