Name Description Size Coverage
LaunchOnLogin.sys.mjs If LaunchOnLogin is supported on this platform @returns {bool} Whether LaunchOnLogin is supported. 2962 -
MacOSLaunchOnLogin.sys.mjs @returns {bool} Always returns true as this is an OS level policy restriction and this is not supported on macOS 1172 -
moz.build 590 -
UnsupportedLaunchOnLogin.sys.mjs 749 -
WindowsLaunchOnLogin.sys.mjs "Launch on Login" is a Firefox feature automatically launches Firefox when the user logs in to Windows. The technical mechanism is simply writing a registry key to `Software\Microsoft\Windows\CurrentVersion\Run`, but there is an issue: when disabled in the Windows UI, additional registry keys are written under `Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run`. Any keys stored here should be seen as a user override and should never be modified. When such keys are present, the launch on login feature should be considered disabled and not available from within Firefox. This module provides the functionality to access and modify these registry keys. MSIX installs cannot write to the registry so we instead use the MSIX-exclusive Windows StartupTask APIs. The difference here is that the startup task is always "registered", we control whether it's enabled or disabled. As such some functions such as getLaunchOnLoginApproved() have different behavior on MSIX installs. 12603 -