Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 810209 - Initialize cookie service at startup [r=mconnor]
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Desré committed Nov 13, 2012
1 parent 495f8d8 commit ba80735
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions b2g/chrome/content/shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ba80735

Please sign in to comment.