B2G/gecko/extensions/cookie/test/unit/head_cookies.js
// once the close is complete.
once the close is complete.
once the close is complete .
function do_close_profile(generator, cleanse) {
  let obs = new _observer(generator, "cookie-db-closed");
  let service = Services.cookies.QueryInterface(Ci.nsIObserver);
  service.observe(null, "profile-before-change", cleanse ? cleanse : "");
}
function do_close_profile ( generator , cleanse ) { let obs = new _observer ( generator , "cookie-db-closed" ) ; let service = Services . cookies . QueryInterface ( Ci . nsIObserver ) ; service . observe ( null , "profile-before-change" , cleanse ? cleanse : "" ) ; }
once the close is complete.
once the close is complete .
// Register an observer for db close. // Close the db.