B2G/gecko/browser/components/downloads/src/DownloadsStartup.js
/**
   * Ensures that persistent download data is reloaded at the appropriate time.
   */
Ensures that persistent download data is reloaded at the appropriate time.
Ensures that persistent download data is reloaded at the appropriate time .
function DS_ensureDataLoaded()
  {
    if (!this._downloadsServiceInitialized ||
        gPrivateBrowsingService.privateBrowsingEnabled) {
      return;
    }
    DownloadsCommon.data.ensurePersistentDataLoaded(!this._recoverAllDownloads);
  }
function DS_ensureDataLoaded ( ) { if ( ! this . _downloadsServiceInitialized || gPrivateBrowsingService . privateBrowsingEnabled ) { return ; } DownloadsCommon . data . ensurePersistentDataLoaded ( ! this . _recoverAllDownloads ) ; }
Ensures that persistent download data is reloaded at the appropriate time.
Ensures that persistent download data is reloaded at the appropriate time .
// If the previous session has been already restored, then we ensure that // all the downloads are loaded.  Otherwise, we only ensure that the active // downloads from the previous session are loaded.