Name Description Size Coverage CI issues
assets -
BackgroundTask_defaultagent.sys.mjs disableInternalPings 21365 32 %
common.cpp = 0 2742 36 %
common.h 971 -
components.conf 805 -
DefaultAgent.cpp 16691 19 %
DefaultAgent.h 743 100 %
DefaultAgentScheduler.sys.mjs The task name recorded by a previous registration, if it differs from the name in use now. @returns {?string} the stale task name, or null if there isn't one. 5458 84 %
DefaultBrowser.cpp 8375 14 %
DefaultBrowser.h 1064 -
DefaultPDF.cpp 4903 21 %
DefaultPDF.h 1031 -
docs -
EventLog.cpp 392 -
EventLog.h 696 -
jar.mn 350 -
metrics.yaml 12420 -
module.ver 69 -
moz.build 2256 -
Notification.cpp 4059 42 %
Notification.h 1704 -
nsIDefaultAgent.idl Create a Windows scheduled task that will launch this binary with the do-task command every 24 hours, starting from 24 hours after register-task is run. @param {AString} aUniqueToken A unique identifier for this installation; typically the install path hash that's used for the update directory, the AppUserModelID, and other related purposes. 7114 -
nsIWindowsMutex.idl Interact with Windows named mutexes. Generally you don't want a Windows named mutex, you want one of the many Gecko locking primitives. But when you do want cross-application instance or even cross-installation coordination, a Windows named mutex might be an appropriate tool. 1790 -
pings.yaml 2109 -
Policy.cpp 5761 68 %
Policy.h 459 -
proxy 0 %
Registry.cpp = nullptr 11639 54 %
Registry.h 4513 -
ScheduledTask.cpp = nullptr 12294 0 %
ScheduledTask.h 775 -
ScheduledTaskRemove.cpp flags 3720 0 %
ScheduledTaskRemove.h 1066 0 %
SetDefaultBrowser.cpp The implementation for setting extension handlers by writing UserChoice. This is used by both SetDefaultBrowserUserChoice and SetDefaultExtensionHandlersUserChoice. @param aAumi The AUMI of the installation to set as default. @param aSid Current user's string SID @param aRegRename True if we should rename registry keys to prevent interference from kernel drivers attempting to lock subkeys. @param aExtraFileExtensions Optional array of extra file association pairs to set as default, like `[ ".pdf", "FirefoxPDF" ]`. @returns NS_OK All associations set and checked successfully. NS_ERROR_WDBA_REJECTED UserChoice was set, but checking the default did not return our ProgID. NS_ERROR_FAILURE Failed to set at least one association. 29290 0 %
SetDefaultBrowser.h Set the default browser by writing the UserChoice registry keys. This sets the associations for https, http, .html, and .htm, and optionally for additional extra file extensions. When the agent is run with set-default-browser-user-choice, the exit code is the result of this function. @param aAumi The AUMI of the installation to set as default. @param aRegRename True if we should rename registry keys to prevent interference from kernel drivers attempting to lock subkeys. @param aExtraFileExtensions Optional array of extra file association pairs to set as default, like `[ ".pdf", "FirefoxPDF" ]`. @return NS_OK All associations set and checked successfully. NS_ERROR_WDBA_NO_PROGID The ProgID classes had not been registered. NS_ERROR_WDBA_HASH_CHECK The existing UserChoice Hash could not be verified. NS_ERROR_WDBA_REJECTED UserChoice was set, but checking the default did not return our ProgID. NS_ERROR_WDBA_BUILD The existing UserChoice Hash was verified, but we're on an older, unsupported Windows build, so do not attempt to update the UserChoice hash. NS_ERROR_FAILURE other failure 3041 -
Telemetry.cpp 11001 71 %
Telemetry.h 1218 -
tests 91 %
UtfConvert.cpp 1842 54 %
UtfConvert.h 716 -
WindowsMutex.cpp 3188 72 %
WindowsMutex.h 1005 100 %