Bug 810209 - Initialize cookie service at startup [r=mconnor]

This commit is contained in:
Fabrice Desré 2012-11-13 09:40:00 -08:00
parent fa6de6f241
commit 57fa3be4d3

View File

@ -141,6 +141,11 @@ var shell = {
},
start: function shell_start() {
// This forces the initialization of the cookie service before we hit the
// network.
// See bug 810209
let cookies = Cc["@mozilla.org/cookieService;1"];
try {
let cr = Cc["@mozilla.org/xre/app-info;1"]
.getService(Ci.nsICrashReporter);