Name Description Size Coverage
.eslintrc.mjs 431 -
about 89 %
aboutlogins 90 %
aboutwelcome 81 %
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 16211 70 %
aiwindow 88 %
asrouter 86 %
attribution -
backup 89 %
BrowserComponents.manifest 19289 -
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} 60904 68 %
BrowserGlue.sys.mjs 61599 77 %
build -
components.conf 2966 -
contentanalysis -
contentsharing 83 %
contextualidentity 77 %
controlcenter -
customizableui 88 %
customkeys 98 %
DefaultBrowserCheck.sys.mjs Don't break if Telemetry is acting up. 7971 -
defaultwindowslaunchonlogin 93 %
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 28429 -
distribution.sys.mjs 19286 84 %
downloads 88 %
enterprisepolicies 86 %
extensions 95 %
firefoxview 91 %
genai 91 %
installerprefs 94 %
ipprotection 94 %
messagepreview 78 %
metrics.yaml 45966 -
migration 76 %
moz.build 3154 -
mozcachedohttp -
multilineeditor 86 %
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 95 %
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. 40342 -
profiles 85 %
prompts 75 %
protections 96 %
protocolhandler 76 %
qrcode 91 %
referrals 97 %
reportbrokensite 98 %
resistfingerprinting -
safebrowsing -
screenshots 90 %
search 62 %
sessionstore 88 %
shell 39 %
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/performance This component only exists in nightly and debug builds, it doesn't ship in our release builds. 7752 87 %
StartupTelemetry.sys.mjs Used to collect various bits of telemetry during browser startup. 19964 -
storybook -
syncedtabs 87 %
tabbrowser 92 %
tabnotes 93 %
tabunloader 64 %
taskbartabs 94 %
tests -
textrecognition -
topsites 85 %
touchbar -
translations 90 %
uitour -
urlbar 79 %
webrtc 94 %