B2G/gecko/toolkit/components/places/tests/expiration/head_expiration.js
/**
 * Forces an expiration run.
 *
 * @param [optional] aLimit
 *        Limit for the expiration.  Pass -1 for unlimited.
 *        Any other non-positive value will just expire orphans.
 */
Forces an expiration run.
@param [optional] aLimit
Limit for the expiration.  Pass -1 for unlimited.
Any other non-positive value will just expire orphans.
Forces an expiration run . @param [ optional ] aLimit Limit for the expiration . Pass - 1 for unlimited . Any other non - positive value will just expire orphans .
function force_expiration_step(aLimit) {
  const TOPIC_DEBUG_START_EXPIRATION = "places-debug-start-expiration";
  let expire = Cc["@mozilla.org/places/expiration;1"].getService(Ci.nsIObserver);
  expire.observe(null, TOPIC_DEBUG_START_EXPIRATION, aLimit);
}
function force_expiration_step ( aLimit ) { const TOPIC_DEBUG_START_EXPIRATION = "places-debug-start-expiration" ; let expire = Cc [ "@mozilla.org/places/expiration;1" ] . getService ( Ci . nsIObserver ) ; expire . observe ( null , TOPIC_DEBUG_START_EXPIRATION , aLimit ) ; }
Forces an expiration run.
Forces an expiration run .