B2G/gecko/browser/components/tabview/tabitems.js
// be called at browser startup with the cached data avaliable.
be called at browser startup with the cached data avaliable.
be called at browser startup with the cached data avaliable .
function TabItem_showCachedData() {
    let {title, url} = this.getTabState();
    let thumbnailURL = gPageThumbnails.getThumbnailURL(url);
    this.$cachedThumb.attr("src", thumbnailURL).show();
    this.$canvas.css({opacity: 0});
    let tooltip = (title && title != url ? title + "\n" + url : url);
    this.$tabTitle.text(title).attr("title", tooltip);
    this._showsCachedData = true;
  }
function TabItem_showCachedData ( ) { let { title , url } = this . getTabState ( ) ; let thumbnailURL = gPageThumbnails . getThumbnailURL ( url ) ; this . $cachedThumb . attr ( "src" , thumbnailURL ) . show ( ) ; this . $canvas . css ( { opacity : 0 } ) ; let tooltip = ( title && title != url ? title + "\n" + url : url ) ; this . $tabTitle . text ( title ) . attr ( "title" , tooltip ) ; this . _showsCachedData = true ; }
be called at browser startup with the cached data avaliable.
be called at browser startup with the cached data avaliable .