rem: var browser = FirebugChrome.getCurrentBrowser(); 
add: var browser = FirebugChrome.getCurrentBrowser(); 
context:     toggleDetachBar: function(forceOpen)    {        var browser = FirebugChrome.getCurrentBrowser(); // XXXjjb Joe check tabBrowser.selectedBrowser;          if (!forceOpen && browser.detached)        {            browser.chrome.close();            detachCommand.setAttribute("checked", false);        }        else            this.detachBar();    },
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/0fdfc663d6e6e0d4a6043b4035a0f87f31c76c2d/firebug.js/buggy/extension/content/firebug/firebug.js