rem: if (FBTrace.DBG_PANELS) FBTrace.dumpStack("chrome.syncPanel FirebugContext="+			/*@explore*/ (FirebugContext?FirebugContext.window.location:"undefined")+"\n");               /*@explore*/ 
add: if (FBTrace.DBG_PANELS) FBTrace.sysout("chrome.syncPanel FirebugContext="+                                     /*@explore*/ (FirebugContext?FirebugContext.window.location:"undefined")+"\n");                                     /*@explore*/ 
context:     syncPanel: function()    {        if (FBTrace.DBG_PANELS) FBTrace.dumpStack("chrome.syncPanel FirebugContext="+			/*@explore*/                (FirebugContext?FirebugContext.window.location:"undefined")+"\n");               /*@explore*/                                                                                                                       /*@explore*/        panelStatus.clear();        if (FirebugContext)        {            var panelName = FirebugContext.panelName                ? FirebugContext.panelName                : Firebug.defaultPanelName;            if (!panelName || !Firebug.getPanelType(panelName))                panelName = "console";            this.syncMainPanels();            panelBar1.selectPanel(panelName, true);            disabledBox.setAttribute("collapsed", "true");        }        else        {            var uri = this.getCurrentURI();            if (uri)            {                var host = getURIHost(uri);                var isSystemPage = FBL.isSystemURL(uri.spec);                if (FBTrace.DBG_PANELS) FBTrace.sysout("chrome.syncPanel host="+host+" isSystemPage="+isSystemPage+"\n");               /*@explore*/                var caption;                if (Firebug.disabledAlways)                {                    caption = FBL.$STR("DisabledHeader");                    enableAlwaysLink.firstChild.nodeValue = FBL.$STR("EnableAlways");                }                enableSystemPagesLink.firstChild.nodeValue = "";                enableSiteLink.firstChild.nodeValue ="";                if (isSystemPage)                {                    caption = FBL.$STR("IsSystemPage");                    enableSystemPagesLink.firstChild.nodeValue = FBL.$STR("EnableForSystemPages");                }                else if (!host)                {                    caption = FBL.$STR("DisabledForFiles");                    enableSiteLink.firstChild.nodeValue = FBL.$STR("EnableForFiles");                }                else                {                    caption = FBL.$STRF("DisabledForSiteHeader", [host]);                    enableSiteLink.firstChild.nodeValue = FBL.$STRF("EnableForSite", [host]);                }                disabledHead.firstChild.nodeValue = caption;                disabledBox.removeAttribute("collapsed");            }            panelBar1.selectPanel(null, true);        }        if (externalBrowser)            this.syncTitle();    },
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/57be5cc0d05af01592ebc9354c9dd14cffcbf7de/chrome.js/clean/extension/content/firebug/chrome.js