| DefaultWindowsLaunchOnLogin.sys.mjs |
`browser-before-ui-startup` category entry point.
Registered to run early in startup so the (unavoidable) wait for Nimbus's
first Remote Settings fetch starts as soon as possible. The Windows
startup apps registry key only matters before the user reboots Windows,
so this does not need to run especially early -- but writing it promptly
minimizes two unkind outcomes: 1) the user closes Firefox before we enable
it, 2) the user opens about:preferences and sees the setting reported as off
before we turn it on.
The category manager invokes this with a `jsGlobal` first argument, which
we ignore; the real work and its inputs live in `enableOnFirstRunIfNeeded`
so they can be driven directly from tests.
|
3107 |
100 % |
| moz.build |
|
392 |
- |
| tests |
|
|
- |