B2G/gecko/extensions/cookie/test/unit/head_cookies.js
// once the load is complete.
once the load is complete.
once the load is complete .
function do_load_profile(generator) {
  let obs = new _observer(generator, "cookie-db-read");
  let service = Services.cookies.QueryInterface(Ci.nsIObserver);
  service.observe(null, "profile-do-change", "");
}
function do_load_profile ( generator ) { let obs = new _observer ( generator , "cookie-db-read" ) ; let service = Services . cookies . QueryInterface ( Ci . nsIObserver ) ; service . observe ( null , "profile-do-change" , "" ) ; }
once the load is complete.
once the load is complete .
// Register an observer for read completion. // Load the profile.