mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 810209 - Initialize cookie service at startup [r=mconnor]
This commit is contained in:
parent
fa6de6f241
commit
57fa3be4d3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user