Name Description Size Coverage
assets -
BackgroundTask_defaultagent.sys.mjs -*- js-indent-level: 2; indent-tabs-mode: nil -*- 17512 19 %
common.cpp = 0 2864 0 %
common.h 1093 -
components.conf 894 -
DefaultAgent.cpp 16348 6 %
DefaultAgent.h 865 100 %
DefaultBrowser.cpp 8497 0 %
DefaultBrowser.h 1186 -
DefaultPDF.cpp 5025 0 %
DefaultPDF.h 1153 -
docs -
EventLog.cpp 514 -
EventLog.h 818 -
jar.mn 350 -
metrics.yaml 7629 -
module.ver 69 -
moz.build 2008 -
Notification.cpp 4181 0 %
Notification.h 1826 -
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. 6190 -
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. 1870 -
pings.yaml 2109 -
Policy.cpp 5883 0 %
Policy.h 581 -
proxy 0 %
Registry.cpp = nullptr 11761 14 %
Registry.h 4635 -
ScheduledTask.cpp = nullptr 12416 0 %
ScheduledTask.h 897 -
ScheduledTaskRemove.cpp flags 3842 0 %
ScheduledTaskRemove.h 1188 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. 29370 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 3121 -
Telemetry.cpp 8488 0 %
Telemetry.h 892 -
tests 0 %
UtfConvert.cpp 1964 0 %
UtfConvert.h 838 -
WindowsMutex.cpp 3310 81 %
WindowsMutex.h 1127 100 %