B2G/gecko/browser/components/places/content/bookmarkProperties.js
/**
   * This method returns the title string corresponding to a given URI.
   * If none is available from the bookmark service (probably because
   * the given URI doesn't appear in bookmarks or history), we synthesize
   * a title from the first 100 characters of the URI.
   *
   * @param aURI
   *        nsIURI object for which we want the title
   *
   * @returns a title string
   */
This method returns the title string corresponding to a given URI.
If none is available from the bookmark service (probably because
the given URI doesn't appear in bookmarks or history), we synthesize
a title from the first 100 characters of the URI.

@param aURI
nsIURI object for which we want the title

@returns a title string
This method returns the title string corresponding to a given URI . If none is available from the bookmark service ( probably because the given URI doesn ' t appear in bookmarks or history ) we synthesize a title from the first 100 characters of the URI . @param aURI nsIURI object for which we want the title @returns a title string
function BPP__getURITitleFromHistory(aURI) {
    NS_ASSERT(aURI instanceof Ci.nsIURI);
    return PlacesUtils.history.getPageTitle(aURI);
  }
function BPP__getURITitleFromHistory ( aURI ) { NS_ASSERT ( aURI instanceof Ci . nsIURI ) ; return PlacesUtils . history . getPageTitle ( aURI ) ; }
This method returns the title string corresponding to a given URI.
This method returns the title string corresponding to a given URI .
// get the title from History