Name Description Size Coverage
enUS-searchFeatures.ftl 17696 -
interventions.ftl 1862 -
L10nCache.mjs @typedef L10nCachedMessage A cached L10n message object is similar to `L10nMessage` (defined in Localization.webidl) but its attributes are stored differently for convenience. For example, if we cache these strings from an ftl file: foo = Foo's value bar = .label = Bar's label value Then: cache.get("foo") // => { value: "Foo's value", attributes: null } cache.get("bar") // => { value: null, attributes: { label: "Bar's label value" }} @property {string} [value] The bare value of the string. If the string does not have a bare value (i.e., it has only attributes), this will be null. @property {{[key: string]: string}|null} [attributes] A mapping from attribute names to their values. If the string doesn't have any attributes, this will be null. 15198 -
SearchbarInput.mjs The search bar input, backing the `moz-searchbar` custom element. 483 -
SearchEngineStore.mjs @typedef {object} SearchEngineInfo Serializable information about search engines used to construct PartialSearchEngines. @property {string} id The engine's id. @property {string} name The engine's name. @property {boolean} isConfigEngine Whether the engine is a ConfigSearchEngine. @property {boolean} isAppProvided Whether the engine is an AppProvidedConfigEngine. @property {boolean} isGeneralPurposeEngine See SearchEngine::isGeneralPurposeEngine. @property {boolean} hideOneOffButton Whether to hide the engine in the search mode switcher popup. @property {string} isNewUntil The date until which the engine is considered new (format: YYYY-MM-DD). @property {string[]} aliases Array of the engine's aliases. 9711 -
SearchModeSwitcher.mjs @import MozButton from "chrome://global/content/elements/moz-button.mjs"; @import { PartialSearchEngine } from "chrome://browser/content/urlbar/SearchEngineStore.mjs" @import { OpenSearchData } from "moz-src:///browser/components/search/OpenSearchManager.sys.mjs" @import { LocalSearchMode } from "chrome://browser/content/urlbar/UrlbarShared.mjs" @import { PanelItem, PanelList } from "chrome://global/content/elements/panel-list.mjs" 28441 -
SmartbarInput.mjs @import { UrlbarSearchOneOffs } from "moz-src:///browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs" @import { SearchEngine } from "moz-src:///toolkit/components/search/SearchEngine.sys.mjs" @import { PartialSearchEngine } from "chrome://browser/content/urlbar/SearchEngineStore.mjs" @import { BrowserSearchTelemetry } from "moz-src:///browser/components/search/BrowserSearchTelemetry.sys.mjs" @import { SmartbarAction } from "moz-src:///browser/components/aiwindow/ui/components/input-cta/input-cta.mjs" @import { WebsiteChipContainer } from "chrome://browser/content/aiwindow/components/website-chip-container.mjs" @import { AIWindow } from "moz-src:///browser/components/aiwindow/ui/components/ai-window/ai-window.mjs" @import { SmartwindowSmartbarGlow } from "moz-src:///browser/components/aiwindow/ui/components/smartwindow-smartbar-glow/smartwindow-smartbar-glow.mjs" @import { WindowMode } from "moz-src:///browser/components/urlbar/content/UrlbarInputBase.mjs" @import { UrlbarLoadRequest } from "chrome://browser/content/urlbar/UrlbarShared.mjs" 263502 -
SmartbarInputController.mjs @import {MultilineEditor} from "chrome://browser/content/multilineeditor/multiline-editor.mjs" 4405 -
SmartbarInputUtils.mjs @import {SmartbarInput} from "chrome://browser/content/urlbar/SmartbarInput.mjs" @typedef {import("../../aiwindow/ui/components/smartwindow-panel-list/smartwindow-panel-list.mjs").SmartwindowPanelList} SmartwindowPanelList 23082 -
UrlbarChildController.mjs @import {UrlbarChild} from "moz-src:///browser/components/urlbar/actors/UrlbarChild.sys.mjs" @import {UrlbarInput} from "chrome://browser/content/urlbar/UrlbarInput.mjs" @import {UrlbarParentController} from "moz-src:///browser/components/urlbar/UrlbarParentController.sys.mjs" @import {UrlbarView} from "chrome://browser/content/urlbar/UrlbarView.mjs" @import {SmartbarInput} from "moz-src:///browser/components/urlbar/content/SmartbarInput.mjs" 35755 -
UrlbarChildTelemetry.mjs @import {UrlbarChildController} from "chrome://browser/content/urlbar/UrlbarChildController.mjs" 13836 -
UrlbarContentPrefs.mjs This module re-exports the UrlbarPrefs singleton from the system global. Content modules (.mjs) should import UrlbarPrefs from here instead of UrlbarPrefs.sys.mjs. This ensures that the import works even in child processes where the Urlbar actor is loaded. 1522 -
UrlbarContentUtils.mjs Per-realm accessors for things a content module can't reach for itself. Where the Urlbar actor has published a port on the window, they go through it; otherwise this realm reaches them directly. Keying on the port rather than on the realm means the chrome message path takes the same route an unprivileged input does. One module for all of them, so the branch isn't duplicated per accessor. 5393 -
UrlbarEventBufferer.mjs Array of keyCodes to defer. @type {Set<number>} 13489 -
UrlbarInput.mjs The address bar input, backing the `moz-urlbar` custom element. 472 -
UrlbarInputBase.mjs @import { UrlbarSearchOneOffs } from "moz-src:///browser/components/urlbar/UrlbarSearchOneOffs.sys.mjs" @import { SearchEngine } from "moz-src:///toolkit/components/search/SearchEngine.sys.mjs" @import { SuggestBackendMerino } from "moz-src:///browser/components/urlbar/private/SuggestBackendMerino.sys.mjs" @import { PartialSearchEngine } from "chrome://browser/content/urlbar/SearchEngineStore.mjs" @import { BrowserSearchTelemetry } from "moz-src:///browser/components/search/BrowserSearchTelemetry.sys.mjs" @import { UrlbarLoadRequest } from "chrome://browser/content/urlbar/UrlbarShared.mjs" 232321 -
UrlbarParentControllerProxy.mjs @import {UrlbarChild} from "moz-src:///browser/components/urlbar/actors/UrlbarChild.sys.mjs" @import {UrlbarParentController} from "moz-src:///browser/components/urlbar/UrlbarParentController.sys.mjs" 16093 -
UrlbarQueryContext.mjs This module exports UrlbarQueryContext, the object describing a single urlbar query. It can be imported into system and content realms, so it should not use content-only globals like `window`. 15425 -
UrlbarResult.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. This module can be imported into system and content realms. For this reason, it is not possible to rely on instanceof checks or global state. 17713 -
UrlbarShared.mjs This module exports urlbar related constants and helpers. It can be imported into system and content realms, so it should not use content-only globals like `window`. Any state it holds is per-realm (each importing realm gets its own copy of the module). 65011 -
UrlbarTelemetryUtils.mjs @import {SmartbarInput} from "moz-src:///browser/components/urlbar/content/SmartbarInput.mjs" 28195 -
UrlbarView.mjs Receives and displays address bar autocomplete results. 159776 -