B2G/gecko/toolkit/components/places/tests/expiration/head_expiration.js
// Simulates an expiration at shutdown.
Simulates an expiration at shutdown.
Simulates an expiration at shutdown .
function shutdownExpiration()
{
  let expire = Cc["@mozilla.org/places/expiration;1"].getService(Ci.nsIObserver);
  expire.observe(null, "places-will-close-connection", null);
}
function shutdownExpiration ( ) { let expire = Cc [ "@mozilla.org/places/expiration;1" ] . getService ( Ci . nsIObserver ) ; expire . observe ( null , "places-will-close-connection" , null ) ; }
Simulates an expiration at shutdown.
Simulates an expiration at shutdown .