rem: var browser = FirebugChrome.getCurrentBrowser(); 
add: var browser = FirebugChrome.getCurrentBrowser(); 
context:     detachBar: function()    {        var browser = FirebugChrome.getCurrentBrowser(); // XXXjjb Joe check tabBrowser.selectedBrowser;          if (!browser.chrome)            return;        if (browser.detached)            browser.chrome.focus();        else        {            if (FirebugContext)                FirebugContext.detached = true;                        browser.detached = true;                        var args = {                    FBL: FBL,                    Firebug: this,                    browser: browser,                    context: FirebugContext            };            openWindow("Firebug", "chrome://firebug/content/firebug.xul", "", args);            detachCommand.setAttribute("checked", true);            FirebugChrome.clearPanels();            this.syncBar();        }    },
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/0fdfc663d6e6e0d4a6043b4035a0f87f31c76c2d/firebug.js/buggy/extension/content/firebug/firebug.js