зеркало из https://github.com/mozilla/gecko-dev.git
3ff6d827ad
At the moment, our crash loop counter that turns off session restoring when multiple crashes happen in a row is reset only after a successful background-foreground cycle. Since its purpose is to break out of startup crash loops caused by the currently loaded tab that is automatically loaded after starting the app, it makes sense to also reset it if we didn't crash soon after starting up. Otherwise, if the user remains within Firefox, another crash long after starting would still count towards the crash loop counter. Desktop already employs a similar logic for deciding whether to automatically enable safe mode or not after a crash. Therefore, we use the same amount of time (30 s) after starting Gecko for resetting the counter. We also take the opportunity to make our logic a bit more conservative and only turn off session restoring after two successive crashes in a row (desktop uses 3 by default). MozReview-Commit-ID: CQDutkDgmfc --HG-- extra : rebase_source : e3100394772bcebb64610dcadfd77676119e1de1 |
||
---|---|---|
.. | ||
assets | ||
omnijar | ||
src | ||
build.gradle | ||
checkstyle.xml | ||
findbugs-exclude.xml | ||
lint.xml | ||
mobile.ico | ||
mobile.js | ||
moz.build | ||
ua-update.json.in |