Name Description Size Coverage
components.conf 961 -
moz.build 1050 -
nsIWinBackgroundTaskRegistrar.idl Registers Windows MSIX background tasks that fire on a recurring timer. This is the MSIX-packaged counterpart to nsIWinTaskSchedulerService: instead of the classic Task Scheduler 2.0 (taskschd), it uses the WinRT Windows.ApplicationModel.Background APIs. A registered task activates a COM server (identified by a CLSID entry point) on a TimeTrigger. These methods only work when Firefox is running with package identity (i.e. from an MSIX install) on Windows 10 version 2004 (build 19041) or later. In any other configuration they throw. 2381 -
nsIWinTaskSchedulerService.idl An interface for Windows Task Scheduler 2.0. Documentation for the underlying APIs can be found at https://docs.microsoft.com/en-us/windows/win32/taskschd/task-scheduler-start-page 4721 -
nsWinTaskScheduler.cpp userId 9541 -
nsWinTaskScheduler.h WINTASKSCHEDULER_H_ 582 -
rust -
TaskScheduler.sys.mjs Interface to a system task scheduler, capable of running a command line at an interval independent of the application. The expected consumer of this component wants to run a periodic short-lived maintenance task. These periodic maintenance tasks will be per-OS-level user and run with the OS-level user's permissions. (These still need to work across systems with multiple users and the various ownership and permission combinations that we see.) This component does not help schedule maintenance daemons, meaning long-lived processes. Currently only implemented for Windows and macOS, on other platforms these calls do nothing. The implementation will only interact with tasks from the same install of this application. - On Windows the native tasks are named like "\<vendor>\<id> <install path hash>", e.g. "\Mozilla\Task Identifier 308046B0AF4A39CB" - On macOS the native tasks are labeled like "<macOS bundle ID>.<install path hash>.<id>", e.g. "org.mozilla.nightly.308046B0AF4A39CB.Task Identifier". 8653 -
TaskSchedulerMacOSImpl.sys.mjs Task generation and management for macOS, using `launchd` via `launchctl`. Implements the API exposed in TaskScheduler.sys.mjs Not intended for external use, this is in a separate module to ship the code only on macOS, and to expose for testing. 10294 -
TaskSchedulerWinImpl.sys.mjs Task generation and management for Windows, using Task Scheduler 2.0 (taskschd). Implements the API exposed in TaskScheduler.sys.mjs Not intended for external use, this is in a separate module to ship the code only on Windows, and to expose for testing. 9407 -
TaskSchedulerWinMSIXImpl.sys.mjs CLSID of the package's background task COM server, which on activation launches `firefox.exe --backgroundtask <id>` for the task's registration name. This is the single ComServer declared in the MSIX manifest. 1702 -
tests -