Name Description Size Coverage
.eslintrc.mjs 431 -
about 89 %
aboutlogins 91 %
aboutwelcome 77 %
AccountsGlue.sys.mjs Manages Mozilla Account and Sync related functionality needed at startup. It mainly handles various account-related events and notifications. This module was sliced off of BrowserGlue and designed to centralize account-related events/notifications to prevent crowding BrowserGlue 15659 71 %
aiwindow 91 %
asrouter 83 %
attribution -
backup 90 %
BrowserComponents.manifest 22421 -
BrowserContentHandler.sys.mjs Whether `openBrowserWindow` should open the window as Smart Window: the feature is on and set as default, it's not an explicitly private window, and the user previously signed in (approximated synchronously via the ToS consent timestamp; the async FxA check happens later in `onFirstWindowReady`, which prompts sign-in if they've since signed out). It deliberately avoids `SessionStartup.willRestore()`/`sessionType`: called this early, before the session file is read, that getter memoizes NO_SESSION and SessionStore then discards the session it was about to restore. Restore keeps the saved window type (`restoreWindowFeatures`); Smart-by-default only forces brand-new windows. See bug 2052953. @param {boolean} forcePrivate @returns {boolean} 62185 71 %
BrowserGlue.sys.mjs 57820 80 %
build -
components.conf 2966 -
contentanalysis -
contextualidentity 89 %
controlcenter -
customizableui 89 %
customkeys 99 %
DefaultBrowserCheck.sys.mjs Don't break if Telemetry is acting up. 7985 -
defaultlaunchonlogin -
DesktopActorRegistry.sys.mjs Fission-compatible JSProcess implementations. Each actor options object takes the form of a ProcessActorOptions dictionary. Detailed documentation of these options is in dom/docs/ipc/jsactors.rst, available at https://firefox-source-docs.mozilla.org/dom/ipc/jsactors.html 32090 -
distribution.sys.mjs 19912 84 %
downloads 88 %
enterprisepolicies 87 %
extensions 95 %
firefoxview 91 %
genai 88 %
installerprefs -
ipprotection 94 %
messagepreview 77 %
metrics.yaml 44991 -
migration 76 %
moz.build 3368 -
mozcachedohttp -
multilineeditor 88 %
newtab 86 %
nsIBrowserHandler.idl Extract the width and height specified on the command line, if present. @return A feature string with a prepended comma, e.g. ",width=500,height=400" 799 -
originattributes -
pagedata 93 %
passwordmgr 100 %
permissions -
pictureinpicture -
places 83 %
preferences 91 %
privatebrowsing 91 %
ProfileDataUpgrader.sys.mjs This method transforms data in the profile directory so that it can be used in the current version of Firefox. It is organized similar to typical database version upgrades: we are invoked with the version of the profile data on disk (`existingDataVersion`) and the version we expect/need (`newVersion`), and execute any necessary migrations. In practice, most of the migrations move user choices from one preference to another, or ensure that other mechanical file moves (e.g. of document URLs like browser.xhtml). If you're adding a new migration, you will need to increment APP_DATA_VERSION in BrowserGlue.sys.mjs' _migrateUI. That version is not in this module so that we can avoid loading this module entirely in common cases (Firefox startups where a profile is not upgraded). Note that this is invoked very early on startup and should try to avoid doing very expensive things immediately unless absolutely necessary. Some of the migrations will therefore set a pref or otherwise flag that their component needs to do more work later, perhaps during idle tasks or similar, to avoid front-loading the component initialization into this early part of startup. Of course, some of these migrations (e.g. to ensure that browser windows remember their sizes if the URL to browser.xhtml has changed) _need_ to run very early, and that is OK. @param {integer} existingDataVersion The version of the data in the profile. @param {integer} newVersion The version that the application expects/needs. 43747 -
profiles 85 %
prompts 75 %
protections 96 %
protocolhandler 76 %
qrcode 91 %
referrals 90 %
ReinstallCheck.sys.mjs @returns {boolean} whether Firefox was reinstalled since the previous run. 1678 -
remotecontrol -
reportbrokensite 98 %
resistfingerprinting -
safebrowsing -
screenshots 90 %
search 62 %
sessionstore 69 %
sharing 83 %
shell 42 %
sidebar 91 %
StartupRecorder.sys.mjs The StartupRecorder component observes notifications at various stages of startup and records the set of JS modules that were already loaded at each of these points. The records are meant to be used by startup tests in browser/base/content/test/browser-performance This component only exists in nightly and debug builds, it doesn't ship in our release builds. 7768 87 %
StartupTelemetry.sys.mjs Used to collect various bits of telemetry during browser startup. 19872 -
storybook -
syncedtabs 100 %
tabbrowser 92 %
tabnotes 93 %
tabunloader 64 %
taskbartabs 94 %
tests -
textrecognition -
topsites 85 %
touchbar -
translations 90 %
uitour -
urlbar 83 %
webrtc 94 %