Lines Matching refs:contexts
5119 var contexts=new Array();
5420 FBL.ns(function(){with(FBL){var contexts=[];
5427 }if(FBTrace.DBG_SPY){FBTrace.sysout("spy.initContext "+contexts.length+" ",context.getName())
5431 if(FBTrace.DBG_SPY){FBTrace.sysout("spy.destroyContext "+contexts.length+" ",context.getName())
5437 i<TabWatcher.contexts.length;
5438 ++i){var context=TabWatcher.contexts[i];
5446 i<contexts.length;
5447 ++i){if((contexts[i].context==context)&&(contexts[i].win==win)){return
5448 }}if(contexts.length==0){httpObserver.addObserver(SpyHttpObserver,"firebug-http-event",false);
5450 }contexts.push({context:context,win:win});
5451 if(FBTrace.DBG_SPY){FBTrace.sysout("spy.attachObserver (HTTP) "+contexts.length+" ",context.getName())
5453 i<contexts.length;
5454 ++i){if(contexts[i].context==context){if(win&&(contexts[i].win!=win)){continue
5455 }contexts.splice(i,1);
5456 if(contexts.length==0){httpObserver.removeObserver(SpyHttpObserver,"firebug-http-event");
5458 }if(FBTrace.DBG_SPY){FBTrace.sysout("spy.detachObserver (HTTP) "+contexts.length+" ",context.getName())