add:   theTabbrowser.setStripVisibilityTo(gChromeState.hadTabStrip);   statusbar.hidden = gChromeState.statusbarWasHidden; 
context: function toggleAffectedChrome(aHide){  // chrome to toggle includes:  //   (*) menubar  //   (*) navigation bar  //   (*) personal toolbar  //   (*) tab browser ``strip''  //   (*) sidebar  if (!gChromeState)    gChromeState = new Object;  var navToolbox = document.getElementById("navigator-toolbox");  navToolbox.hidden = aHide;  var theTabbrowser = document.getElementById("content");   // sidebar states map as follows:  //   was-hidden    => hide/show nothing  //   was-collapsed => hide/show only the splitter  //   was-shown     => hide/show the splitter and the box  if (aHide)  {    // going into print preview mode    if (sidebar_is_collapsed())    {      gChromeState.sidebar = "was-collapsed";    }    else if (sidebar_is_hidden())      gChromeState.sidebar = "was-hidden";    else     {      gChromeState.sidebar = "was-visible";    }    document.getElementById("sidebar-box").hidden = true;    document.getElementById("sidebar-splitter").hidden = true;    //deal with tab browser    gChromeState.hadTabStrip = theTabbrowser.getStripVisibility();    theTabbrowser.setStripVisibilityTo(false);  }  else  {    // restoring normal mode (i.e., leaving print preview mode)    //restore tab browser    theTabbrowser.setStripVisibilityTo(gChromeState.hadTabStrip);    if (gChromeState.sidebar == "was-collapsed" ||        gChromeState.sidebar == "was-visible")      document.getElementById("sidebar-splitter").hidden = false;    if (gChromeState.sidebar == "was-visible")      document.getElementById("sidebar-box").hidden = false;  }  // if we are unhiding and sidebar used to be there rebuild it  if (!aHide && gChromeState.sidebar == "was-visible")    SidebarRebuild();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e829d9bc2e3cab283741004d8bc46e9c52838dcb/browser.js/buggy/suite/browser/browser.js