rem: if (FBTrace.DBG_WINDOWS) {                                                                                                              /*@explore*/ var uid = win.__firebug__uid;                                                                              /*@explore*/ if (!uid) {                                                                                                /*@explore*/ uid = FBL.getUniqueId();                                                                               /*@explore*/ win.__firebug__uid = uid;                                                                              /*@explore*/ }                                                                                                          /*@explore*/ FBTrace.sysout("tabWatcher.getContextByWindow win.uid: "+uid+" win.location "+(win.location?win.location.href:"(undefined)")+"\n"); /*@explore*/ }                                                                                                              /*@explore*/ 
context:     getContextByWindow: function(win)    {        while (win && win.parent != win)            win = win.parent;        if (!win) // eg search bar, and sometimes win.parent is null??            return;        if (FBTrace.DBG_WINDOWS)  // XXXjjb This shows a lot of calls to getContextByWindow, can some be avoided?      /*@explore*/        {                                                                                                              /*@explore*/            var uid = win.__firebug__uid;                                                                              /*@explore*/            if (!uid) {                                                                                                /*@explore*/                uid = FBL.getUniqueId();                                                                               /*@explore*/                win.__firebug__uid = uid;                                                                              /*@explore*/            }                                                                                                          /*@explore*/            FBTrace.sysout("tabWatcher.getContextByWindow win.uid: "+uid+" win.location "+(win.location?win.location.href:"(undefined)")+"\n"); /*@explore*/        }                                                                                                              /*@explore*/        for (var i = 0; i < contexts.length; ++i)        {            var context = contexts[i];            if (context.window == win)                return context;        }    },
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/a693ce585521dd7708142572da02b5a10b9bf206/tabWatcher.js/buggy/extension/content/firebug/tabWatcher.js