зеркало из https://github.com/mozilla/gecko-dev.git
2faddce683
Since we know that corrupt startup caches can and do cause startup crashes, we should ideally purge them any time we detect that the last startup resulted in a crash. The alternative is waiting until the users restart enough times to trigger safe mode, and hope that they start in safe mode and then immediately restart in normal mode. This is not a great user experience. Unfortunately, the normal startup crash detection mechanism relies on the preference service, which starts up far too late for us to make this decision effectively. To work around that, this patch adds a new startup crash detection mechanism that creates an incomplete startup canary file which we remove at the end of the startup crash detection window, or on any sort of graceful exit. MozReview-Commit-ID: ALaLsyF4meg --HG-- extra : rebase_source : c97f8a2cac2c30f8cc22b05a62058aef2ad07870 |
||
---|---|---|
.. | ||
public | ||
tests | ||
StartupTimeline.cpp | ||
StartupTimeline.h | ||
moz.build | ||
mozprofilerprobe.mof | ||
nsAppStartup.cpp | ||
nsAppStartup.h | ||
nsUserInfo.h | ||
nsUserInfoMac.h | ||
nsUserInfoMac.mm | ||
nsUserInfoUnix.cpp | ||
nsUserInfoWin.cpp |