gecko-dev/browser
Dave Townsend 55dc7cb4db Bug 1518587: Move startup profile selection to nsToolkitProfileService. r=froydnj
Currently nsAppRunner is responsible for choosing or creating a profile to use
at startup. It then has to create a reset profile if necessary and lock the
selected profile directories. But these latter things are done in different
places of the selection code and done in different ways, sometimes we delay
while trying to get the lock, sometimes we don't.

This patch moves the profile selection part of the code to its own function so
that then we only have to have one place that does the profile reset and
locking logic.

It makes a lot of sense to have the selection code live in the profile service.
It can use information from the database load to help make the choices and it
also means that we can expose the profile selection code through xpcom allowing
it to be easily automatically tested. It will also be more important for future
patches for the dedicated profiles feature.

Differential Revision: https://phabricator.services.mozilla.com/D16116

--HG--
extra : moz-landing-system : lando
2019-01-14 17:27:34 +00:00
..
actors Bug 1414804 - Fix test for expired certificate "helpful" messaging to users with broken system clocks. r=Gijs 2019-01-09 17:23:18 +00:00
app No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-01-14 13:28:46 +00:00
base Bug 1519574 - Test which delayedLoad process scripts are loaded during content process startup. r=Felipe 2019-01-12 21:48:26 +00:00
branding Backing out Bug 1518799 (changeset eace4709948c) because the target page is not yet available. a=backout 2019-01-13 17:44:29 -08:00
components Bug 1518587: Move startup profile selection to nsToolkitProfileService. r=froydnj 2019-01-14 17:27:34 +00:00
config Bug 1515528 - Disable accessibility on aarch64-windows. r=dmajor,chmanchester 2019-01-11 00:20:35 +00:00
docs Bug 1511693 - Expose base classes for providers and muxers. r=Standard8 2018-12-19 12:57:43 +00:00
extensions Bug 1519834 - Update pdf.js to version 2.1.189. r=bdahl 2019-01-14 08:47:31 -05:00
fonts
installer Bug 1512039 - Allow the stub installer to detect and download the AArch64 Windows build. r=agashlin 2019-01-10 23:09:01 +00:00
locales Bug 1518590 - Change "More..." to "Advanced..." on advanced button. r=flod 2019-01-11 11:07:03 +00:00
modules Bug 1518152 - Create a TelemetryTestUtils.jsm and start using it in browser/modules/test. r=Dexter 2019-01-09 09:08:42 +00:00
themes Bug 1454357 - Remove the scrollbox binding r=NeilDeakin 2019-01-09 20:12:26 +00:00
tools/mozscreenshots Bug 1501286 - Part 2: Remove support for tracking protection UI from Control Centre r=johannh 2018-10-25 16:52:19 +00:00
.eslintrc.js
app.mozbuild
build.mk
confvars.sh Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander 2018-11-16 01:15:35 +00:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1465251 - use PrioEncoder to encode Telemetry values for pilot project r=kmag 2018-09-09 00:23:52 +00:00
moz.configure Bug 1493315: Build config for dedicated profiles and downgrade protection. r=ted 2018-09-21 23:32:55 +00:00