gecko-dev/toolkit/xre
Jens Stutte 1e19379853 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-27 14:38:14 +00:00
..
test Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
AssembleCmdLine.h
AutoSQLiteLifetime.cpp
AutoSQLiteLifetime.h
Bootstrap.cpp
Bootstrap.h Bug 1690384: Propagate error information up through XPCOMGlueLoad and GetBootstrap; r=glandium 2021-02-23 23:25:22 +00:00
CmdLineAndEnvUtils.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
CmdLineAndEnvUtils.h Bug 1656185 - Put CommandLineParserWin behind MOZILLA_INTERNAL_API to compile with MinGW. r=mossop 2020-08-02 22:38:02 +00:00
CreateAppData.cpp
DllPrefetchExperimentRegistryInfo.cpp
DllPrefetchExperimentRegistryInfo.h
EventTracer.cpp
EventTracer.h
LauncherRegistryInfo.cpp
LauncherRegistryInfo.h
MacApplicationDelegate.h
MacApplicationDelegate.mm Bug 1692391 - Rename NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK macros, replacing ABORT with IGNORE. These macros just log the exception and move on, without aborting. r=haik 2021-02-16 22:55:21 +00:00
MacAutoreleasePool.h
MacAutoreleasePool.mm
MacLaunchHelper.h
MacLaunchHelper.mm
ModuleEvaluator.cpp
ModuleEvaluator.h
ModuleVersionInfo.cpp
ModuleVersionInfo.h
MultiInstanceLock.cpp Bug 1553982 Part 1 - Manage "multi-instance locks" that can be created by any component. r=bytesized,nalexander 2020-12-11 05:37:38 +00:00
MultiInstanceLock.h Bug 1553982 Part 1 - Manage "multi-instance locks" that can be created by any component. r=bytesized,nalexander 2020-12-11 05:37:38 +00:00
PolicyChecks.h
ProfileReset.cpp Bug 1686616 - make StringBundle use Components instead of Services. r=kmag 2021-02-18 13:26:32 +00:00
ProfileReset.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SafeMode.h
UIKitDirProvider.h
UIKitDirProvider.mm
UntrustedModulesData.cpp Bug 1691913 - Rename nsBaseHashtable::GetOrInsert(With) to LookupOrInsert(With). r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:45 +00:00
UntrustedModulesData.h Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
UntrustedModulesProcessor.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
UntrustedModulesProcessor.h
WinDllServices.cpp
WinDllServices.h
WinTokenUtils.cpp
WinTokenUtils.h
components.conf Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi 2020-07-09 21:42:25 +00:00
glxtest.cpp Bug 1689207 - Some fixes for EGL in glxtest, r=aosmond 2021-02-15 18:52:18 +00:00
moz.build Bug 1667276 - Pre: Disable extension manager in background tasks mode. r=mossop 2021-01-27 22:54:02 +00:00
nsAndroidStartup.cpp Bug 689178 - Remove crash-reporter hooks to externally provide library mappings. r=gsvelto 2020-06-25 08:43:23 +00:00
nsAppRunner.cpp Bug 1685213 - Part 1: Save and access the startup shortcut. r=bytesized 2021-02-25 23:15:46 +00:00
nsAppRunner.h Bug 1692851 - Use exec to launch firefox when switching profiles r=kmag 2021-02-17 23:38:56 +00:00
nsAppStartupNotifier.cpp Bug 1553982 Part 0 - Fix a few unified build issues that crop up when adding files in this directory. r=bytesized 2020-12-10 04:33:20 +00:00
nsAppStartupNotifier.h Bug 1553982 Part 0 - Fix a few unified build issues that crop up when adding files in this directory. r=bytesized 2020-12-10 04:33:20 +00:00
nsCommandLineServiceMac.h
nsCommandLineServiceMac.mm
nsConsoleWriter.cpp
nsEmbedFunctions.cpp Bug 1679272 - Include ScopeExit.h exactly where used. r=andi 2020-12-07 14:25:59 +00:00
nsEmbeddingModule.cpp
nsGDKErrorHandler.cpp
nsGDKErrorHandler.h
nsIAppStartupNotifier.h
nsINativeAppSupport.idl
nsIWinAppHelper.idl
nsIXREDirProvider.idl
nsNativeAppSupportBase.cpp
nsNativeAppSupportBase.h
nsNativeAppSupportCocoa.mm Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik 2021-02-16 22:55:20 +00:00
nsNativeAppSupportDefault.cpp
nsNativeAppSupportUnix.cpp Bug 1675329: Add an API for returning an exit code from the application. r=dthayer,necko-reviewers,dragana,nika 2020-12-03 20:19:47 +00:00
nsNativeAppSupportWin.cpp
nsNativeAppSupportWin.h
nsSigHandlers.cpp Bug 1672908 - Fix "unused variable uc" on arm64 macOS. r=gsvelto 2020-10-23 07:12:54 +00:00
nsSigHandlers.h
nsUpdateDriver.cpp Bug 1674675 - nsUpdateDriver.cpp: simplify the code by removing an else r=sylvestre 2020-12-26 14:28:36 +00:00
nsUpdateDriver.h
nsUpdateSyncManager.cpp Bug 1553982 Part 2 - Use a multi-instance lock to implement an update sync manager XPCOM component. r=bytesized,nalexander 2020-12-11 02:03:40 +00:00
nsUpdateSyncManager.h Bug 1553982 Part 2 - Use a multi-instance lock to implement an update sync manager XPCOM component. r=bytesized,nalexander 2020-12-11 02:03:40 +00:00
nsWindowsRestart.cpp
nsWindowsWMain.cpp
nsX11ErrorHandler.cpp
nsX11ErrorHandler.h
nsXREDirProvider.cpp Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten 2021-02-27 14:38:14 +00:00
nsXREDirProvider.h
platform.ini
updaterfileutils_osx.h Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
updaterfileutils_osx.mm