gecko-dev/browser
David Rajchenbach-Teller 1a3a107998 Bug 1251347 - Making sure that SessionFile.write initializes its workers;r=mconley
Bug 1243549 fixed a race condition during SessionFile startup which
could cause calls to SessionFile.write to send messages to the worker
before it was initialized. The fix consisted in waiting until
initialization was complete before proceeding.

As it turns out, there are cases in which we send messages to the
worker without ever attempting to initialize it, so this wait ends up
causing a hang/shutdown.

This patch fixes the issue by making sure that any message sent to the
worker first initializes the worker if it hasn't been initialized
yet. Since initializing the worker requires us reading the session
store files to find out which one is valid, well, we do exactly that.

MozReview-Commit-ID: 1bOgCaF6ahM

--HG--
extra : rebase_source : 5f1c6df24457c37c8b253c9e14d6e2b5eba2bfbb
2016-02-26 12:02:43 +01:00
..
app Bug 1250744 - Enable blocking of e10s by add-ons for beta/release. r=mossop 2016-02-23 22:21:38 -03:00
base Merge m-c to inbound, a=merge 2016-02-26 12:38:33 -08:00
branding Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
components Bug 1251347 - Making sure that SessionFile.write initializes its workers;r=mconley 2016-02-26 12:02:43 +01:00
config Bug 1248461 - Enable rust for win32 official builds. r=mshal 2016-02-25 11:14:47 -08:00
docs
experiments Bug 1245649: Turn on no-extra-semi. r=markh 2016-02-03 17:27:36 -08:00
extensions Bug 1245277 loop addon needs to respect prior set default prefs, not restartless, r=Standard8 2016-02-24 15:15:42 -08:00
installer Bug 1041514 - Don't show default browser prompt if a user opts out in the installer. r=jimm 2016-02-22 12:34:30 -05:00
locales Back out 2 changesets (bug 1245992) for several browser-chrome failures 2016-02-25 19:15:16 -08:00
modules Back out 996485ab7306 (bug 1249332) for test bustage. 2016-02-22 16:27:44 -08:00
themes Bug 1201437 - Degrade control center/identity box icons to grey lock with yellow triangle for user-added security exceptions. r=paolo 2016-02-24 22:45:23 -08:00
tools/mozscreenshots mozscreenshots: Change init logging to "debug" level and follow-up on bug 1248027. r=me 2016-02-24 22:41:56 -08:00
.eslintrc Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
app-rules.mk
app.mozbuild Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg 2015-10-14 08:02:34 +09:00
build.mk
confvars.sh Back out 8 changesets (bug 1235345, bug 1234526, bug 1234522, bug 1237700) for OS X 10.10 debug xpcshell timeouts in test_ocsp_stapling.js and test_ocsp_stapling_expired.js 2016-01-08 20:25:27 -08:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1090880 - Remove FUEL.r=mak 2016-01-28 16:47:26 +01:00