Lines Matching refs:context

778 this.setClassTimed=function(elt,name,context,timeout){if(!timeout){timeout=1300  argument
779 }if(elt.__setClassTimeout){context.clearTimeout(elt.__setClassTimeout)
781 }elt.__setClassTimeout=context.setTimeout(function(){delete elt.__setClassTimeout;
785 this.cancelClassTimed=function(elt,name,context){if(elt.__setClassTimeout){FBL.removeClass(elt,name… argument
786 context.clearTimeout(elt.__setClassTimeout);
1201 try{jsonObject=Firebug.context.evaluate(jsonString,null,null,function(){return null
1500 Firebug.context=Firebug.browser;
1502 Firebug.context.persistedState.isOpen=false;
1508 …ching" to "false". More info at http://getfirebug.com/firebuglite#Options'],Firebug.context,"warn")
1521 Firebug.context=null
1572 }}if(Firebug.context&&persistedState){Firebug.context.persistedState=persistedState
1577 }}var persistedState=Firebug.context.persistedState;
1578 if(!persistedState){persistedState=Firebug.context.persistedState=FBL.defaultPersistedState
1600context){},reattachContext:function(browser,context){},destroyContext:function(context,persistedSt… argument
1601 …false,editable:true,order:2147483647,statusSeparator:"<",create:function(context,doc){this.hasSide… argument
1680 …n(name,value){},showToolbarButtons:function(buttonsId,show){try{if(!this.context.browser){if(FBTra…
1682 }var buttons=this.context.browser.chrome.$(buttonsId);
1685 if(!this.context.browser){FBTrace.dumpStack("firebug.Panel showToolbarButtons no browser")
1688 },select:function(object,forceUpdate){if(!object){object=this.getDefaultSelection(this.context)
1695 if(panelName!=this.name){this.context.invalidatePanels(panelName)
1696 }}}else{this.context.invalidatePanels.apply(this.context,this.dependents)
1765 },inspectObject:function(object,context){Firebug.chrome.select(object) argument
1766 },browseObject:function(object,context){},persistObject:function(object,context){},getRealObject:fu… argument
1774 },getContextMenuItems:function(object,target,context){return[] argument
1782 ….Controller={controllers:null,controllerContext:null,initialize:function(context){this.controllers… argument
1783 this.controllerContext=context||Firebug.chrome
1841 }if(!panel.parentPanel){Firebug.context.persistedState.selectedPanelName=panelName
2101 },evaluate:function(expr,context,api,errorHandler){context=context||"window"; argument
2103 if(context=="window"){if(isObjectLiteral){cmd=api?"with("+api+"){ ("+expr+") }":"("+expr+")"
2105 …ts){ with("+api+"){ "+expr+" } }).call("+context+",undefined)":"(function(arguments){ "+expr+" }).…
2273context=options.context||Env.browser,type=chrome.type=Env.Options.enablePersistent?"popup":options…
2289 }else{style.appendChild(context.document.createTextNode(rules))
2319 …popupHeight,",width=",popupWidth,",resizable"].join(""),node=chrome.node=context.window.open(url,"…
2437 …le. Please visit http://getfirebug.com/firebuglite#Install and update it."],Firebug.context,"warn")
2481 setTimeout(function(){self.selectPanel(Firebug.context.persistedState.selectedPanelName);
2482 if(Firebug.context.persistedState.selectedPanelName=="Console"&&Firebug.CommandLine){Firebug.chrome…
2557 }var shouldOpen=forceOpen||!Firebug.context.persistedState.isOpen;
2570 }else{Firebug.context.persistedState.selectedPanelName=oldChrome.selectedPanel.name
2573 …=heightValue+"px",sideWidthValue=Firebug.chrome.sidePanelVisible?Firebug.context.persistedState.si…
2641 Firebug.context.persistedState.height=size.height;
2665 },open:function(){if(!Firebug.context.persistedState.isOpen){Firebug.context.persistedState.isOpen=…
2679 }},close:function(){if(Firebug.context.persistedState.isOpen){if(this.isInitialized){this.shutdown()
2680 }Firebug.context.persistedState.isOpen=false;
2702 }if(fbVSplitterStyle){fbVSplitterStyle.right=Firebug.context.persistedState.sidePanelWidth+"px"
2729 node.style.height=Firebug.context.persistedState.height+"px";
2754 Firebug.context.persistedState.popupTop=top;
2755 Firebug.context.persistedState.popupLeft=left;
2756 Firebug.context.persistedState.popupWidth=size.width;
2757 Firebug.context.persistedState.popupHeight=size.height;
2776 Firebug.browser=Firebug.context=new Context(Env.browser);
2784 …tted(["Firebug could not capture console calls during "+persistDelay+"ms"],Firebug.context,"info");
2855 Firebug.context.persistedState.height=chromeHeight;
2877 Firebug.context.persistedState.sidePanelWidth=x;
2937 var isLocalResource=!resourceDomain||resourceDomain==Firebug.context.window.location.host;
2939 },loadJSONP:function(url,callback){var script=createGlobalElement("script"),doc=Firebug.context.doc…
3133 var Sizzle=function(selector,context,results,seed){results=results||[]; argument
3134 var origContext=context=context||document;
3135 if(context.nodeType!==1&&context.nodeType!==9){return[]
3137 }var parts=[],m,set,checkSet,check,mode,extra,prune=true,contextXML=isXML(context),soFar=selector;
3142 …(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)
3143 }else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);
3147 …&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.…
3148 context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0]
3149context){var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length=…
3156 }if(pop==null){pop=context
3162 }else{if(context&&context.nodeType===1){for(var i=0;
3164 i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i])))…
3182 Sizzle.find=function(expr,context,isXML){var set,match; argument
3247 }},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){v… argument
3249 }},NAME:function(match,context,isXML){if(typeof context.getElementsByName!=="undefined"){var ret=[]… argument
3254 }},TAG:function(match,context){return context.getElementsByTagName(match[1]) argument
3390 …(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!… argument
3401 …ElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElem… argument
3417 }Sizzle=function(query,context,extra,seed){context=context||document; argument
3418 if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(quer…
3419 }catch(e){}}return oldSizzle(query,context,extra,seed)
3430 …xpr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined… argument
3473 var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[conte… argument
3598 var offsetHeight=Firebug.chrome.type=="frame"?Firebug.context.persistedState.height:0;
3717 FBL.domplate.context=function(context,fn){var lastContext=domplate.lastContext; function
3718 domplate.topContext=context;
3719 fn.apply(context);
3729 }this.context=oldTag?oldTag.context:null;
3740 if(domplate.topContext){this.context=domplate.topContext
3770 }if(this.context){fnBlock.push("with (__context__) {")
3774 }if(this.context){fnBlock.push("}")
3779 var markupArgs=[code,tag.tag.context,args,tagOutputs];
3874 }if(this.context){fnBlock.push("with (context) {")
3877 }if(this.context){fnBlock.push("}")
3884 var domArgs=[node,tag.tag.context,0];
4088 var markupArgs=[code,this.tag.context,args,outputs];
4110 }}var domArgs=[firstRow,this.tag.context,offset];
4128 }}var domArgs=[root,this.tag.context,0];
4143 }var domArgs=[root,this.tag.context,0];
4156 var domArgs=[root,this.tag.context,0];
4194 },inspectObject:function(fn,context){var sourceLink=findSourceForFunction(fn,context); argument
4197 }},getTooltip:function(fn,context){var script=findScriptForFunctionInContext(context,fn); argument
4200 }}},getTitle:function(fn,context){var name=fn.name?fn.name:"function"; argument
4202 …,getContextMenuItems:function(fn,target,context,script){if(!script){script=findScriptForFunctionIn… argument
4204 }var scriptInfo=getSourceFileAndLineByScript(context,script);
4206 var name=script?getFunctionName(script,context):fn.name;
4290 },getTitle:function(object,context){return"["+object.length+"]" argument
4293 },getRealObject:function(prop,context){return prop.object[prop.name] argument
4294 },getTitle:function(prop,context){return prop.name argument
4297 },browseObject:function(file,context){openNewTab(file.href); argument
4299 },getRealObject:function(file,context){return null argument
4352 },persistor:function(context,xpath){var elts=xpath?getElementsByXPath(context.window.document,xpath… argument
4355 },browseObject:function(elt,context){var tag=elt.nodeName.toLowerCase(); argument
4361 },persistObject:function(elt,context){var xpath=getElementXPath(elt); argument
4363 },getTitle:function(element,context){return getElementCSSSelector(element) argument
4365 },getContextMenuItems:function(elt,target,context){var monitored=areEventsMonitored(elt,null,contex… argument
4366 …d:monitored,command:bindFixed(toggleMonitorEvents,FBL,elt,null,monitored,context)},"-",{label:"Scr…
4372 },browseObject:function(doc,context){openNewTab(doc.location.href); argument
4374 },persistObject:function(doc,context){return this.persistor argument
4375 },persistor:function(context){return context.window.document argument
4376 },getTitle:function(win,context){return"document" argument
4383 },browseObject:function(styleSheet,context){openNewTab(styleSheet.href); argument
4385 },persistObject:function(styleSheet,context){return bind(this.persistor,top,styleSheet.href) argument
4387 },getContextMenuItems:function(styleSheet,target,context){return[{label:"CopyLocation",command:bind… argument
4388 },persistor:function(context,href){return getStyleSheetByHref(href,context) argument
4393 },browseObject:function(win,context){openNewTab(win.location.href); argument
4395 },persistObject:function(win,context){return this.persistor argument
4396 },persistor:function(context){return context.window argument
4397 },getTitle:function(win,context){return"window" argument
4407 },getTitle:function(event,context){return"Event "+event.type argument
4420 …ectObject:function(sourceLink,context){if(sourceLink.type=="js"){var scriptFile=getSourceFileByHre… argument
4424 }var stylesheet=getStyleSheetByHref(sourceLink.href,context);
4428 }var panel=context.getPanel("stylesheet");
4431 },browseObject:function(sourceLink,context){openNewTab(sourceLink.href); argument
4433 },getContextMenuItems:function(sourceLink,target,context){return[{label:"CopyLocation",command:bind… argument
4435 …,"$object|getSourceLinkTitle"),persistor:function(context,href){return getSourceFileByHref(href,co… argument
4438 },browseObject:function(sourceLink,context){},getTooltip:function(sourceFile){return sourceFile.href argument
4457 },inspectObject:function(stackFrame,context){var sourceLink=new SourceLink(stackFrame.href,stackFra… argument
4459 },getTooltip:function(stackFrame,context){return $STRF("Line",[stackFrame.href,stackFrame.lineNo]) argument
4464 },getTitle:function(frame,context){if(!frame.isValid){return"(invalid frame)" argument
4465 }return getFunctionName(frame.script,context)
4466 },getTooltip:function(frame,context){if(!frame.isValid){return"(invalid frame)" argument
4467 }var sourceInfo=FBL.getSourceFileAndLineByScript(context,frame.script,frame);
4470 }},getContextMenuItems:function(frame,target,context){var fn=frame.script.functionObject.getWrapped… argument
4471 return FirebugReps.Func.getContextMenuItems(fn,target,context,frame.script)
4494 this.inspectObject(target.repObject,panel.context)
4507 },inspectObject:function(error,context){var sourceLink=this.getSourceLink(error); argument
4508 FirebugReps.SourceLink.inspectObject(sourceLink,context)
4509 },getContextMenuItems:function(error,target,context){var breakOnThisError=this.hasErrorBreak(error); argument
4514 …":"assertDescription"})),className:"assert",inspectObject:function(error,context){var sourceLink=t… argument
4516 },getContextMenuItems:function(error,target,context){var breakOnThisError=this.hasErrorBreak(error); argument
4587 }this.attachListeners(currentEditor,panel.context)
4592 this.detachListeners(currentEditor,currentPanel.context);
4618 }else{var context=currentPanel.context;
4619 this.saveTimeout=context.setTimeout(bindFixed(this.save,this),saveTimeout);
4658 }}},attachListeners:function(editor,context){var win=isIE?currentTarget.ownerDocument.parentWindow:… argument
4668 }}}},detachListeners:function(editor,context){if(!this.listeners){return argument
4683 },showContext:function(browser,context){this.stopEditing() argument
4769 …t){var selectRangeCallback=this.getAutoCompleter().complete(currentPanel.context,this.input,true,a…
4804 …ouType){selectRangeCallback=this.getAutoCompleter().complete(currentPanel.context,this.input,false)
4873 this.complete=function(context,textBox,cycle,reverse){var value=textBox.value; argument
4879 var parseStart=getExprOffset?getExprOffset(value,offset,context):0;
4882 var range=getRange?getRange(parsed,offset-parseStart,context):null;
4900 }}var values=evaluator(preExpr,expr,postExpr,context);
5118 …ebug.ActivableModule,{dispatchName:"netMonitor",clear:function(context){var panel=context.getPanel… argument
5172 var context=Firebug.chrome;
5173 this.updateInfo(netInfoBox,file,context)
5174 },updateInfo:function(netInfoBox,file,context){if(FBTrace.DBG_NET){FBTrace.sysout("net.updateInfo; … argument
5187 NetInfoPostData.render(context,postText,file)
5190 NetInfoPostData.render(context,putText,file)
5197 }else{this.setResponseText(file,netInfoBox,responseTextBox,context)
5202 var text=Utils.getResponseText(file,context);
5208 }}}}}}}dispatch(NetInfoBody.fbListeners,"updateTabBody",[netInfoBox,file,context])
5209 },setResponseText:function(file,netInfoBox,responseTextBox,context){netInfoBox.responsePresented=tr… argument
5213 var text=Utils.getResponseText(file,context);
5219 …xt:$STR("net.responseSizeLimitMessage"),onClickLink:function(){var panel=context.getPanel("net",tr…
5270 },render:function(context,parentNode,file){var spy=getAncestorByClass(parentNode,"spyHead"); argument
5277 if(Firebug.JSONViewerModel.isJSON(contentType,data)){this.insertJSON(parentNode,jsonData,context)
5289 },insertJSON:function(parentNode,file,context){var text=file.responseText; argument
5296 },insertXML:function(parentNode,file,context){var text=Utils.getPostText(file,context); argument
5304 },parseMultiPartText:function(file,context){var text=Utils.getPostText(file,context); argument
5354 }},getPostText:function(file,context,noLimit){if(!file.postText){file.postText=readPostTextFromRequ… argument
5355 if(!file.postText&&context){file.postText=readPostTextFromPage(file.href,context)
5360 },getResponseText:function(file,context){return(typeof(file.responseText)!="undefined")?file.respon… argument
5361 },isURLEncodedRequest:function(file,context){var text=Utils.getPostText(file,context); argument
5366 },isMultiPartRequest:function(file,context){var text=Utils.getPostText(file,context); argument
5414 }},initContext:function(context){context.spies=[]; argument
5415 …showXMLHttpRequests&&Firebug.Console.isAlwaysEnabled()){this.attachObserver(context,context.window)
5416 }if(FBTrace.DBG_SPY){FBTrace.sysout("spy.initContext "+contexts.length+" ",context.getName())
5417 }},destroyContext:function(context){this.detachObserver(context,null); argument
5418 …race.DBG_SPY&&context.spies.length){FBTrace.sysout("spy.destroyContext; ERROR There are leaking Sp…
5419 }delete context.spies;
5420 if(FBTrace.DBG_SPY){FBTrace.sysout("spy.destroyContext "+contexts.length+" ",context.getName())
5421 …},watchWindow:function(context,win){if(Firebug.showXMLHttpRequests&&Firebug.Console.isAlwaysEnable… argument
5422 }},unwatchWindow:function(context,win){try{this.detachObserver(context,win) argument
5427 ++i){var context=TabWatcher.contexts[i];
5428 iterateWindows(context.window,function(win){tach.apply(this,[context,win])
5433 }},attachObserver:function(context,win){if(Firebug.Spy.skipSpy(win)){return argument
5436 ++i){if((contexts[i].context==context)&&(contexts[i].win==win)){return
5439 }contexts.push({context:context,win:win});
5440 if(FBTrace.DBG_SPY){FBTrace.sysout("spy.attachObserver (HTTP) "+contexts.length+" ",context.getName…
5441 }},detachObserver:function(context,win){for(var i=0; argument
5443 ++i){if(contexts[i].context==context){if(win&&(contexts[i].win!=win)){continue
5447 }if(FBTrace.DBG_SPY){FBTrace.sysout("spy.detachObserver (HTTP) "+contexts.length+" ",context.getNam…
5477 },browseObject:function(spy,context){var url=spy.getURL(); argument
5480 },getRealObject:function(spy,context){return spy.xhrRequest argument
5506 }else{template.updateInfo(netInfoBox,spy,spy.context)
5536 },updateTabBody:function(infoBox,file,context){var tab=infoBox.selectedTab; argument
5559 },updateTabBody:function(infoBox,file,context){var tab=infoBox.selectedTab; argument
5563 this.insertXML(tabBody,Firebug.NetMonitor.Utils.getResponseText(file,context))
5588 …nsoleBase={log:function(object,context,className,rep,noThrottle,sourceLink){return this.logRow(app… argument
5589 …,logFormatted:function(objects,context,className,noThrottle,sourceLink){return this.logRow(appendF… argument
5590 …enGroup:function(objects,context,className,rep,noThrottle,sourceLink,noPush){return this.logRow(ap… argument
5591 },closeGroup:function(context,noThrottle){return this.logRow(appendCloseGroup,null,context,null,nul… argument
5592 },logRow:function(appender,objects,context,className,rep,sourceLink,noThrottle,noRow){noThrottle=tr… argument
5593 if(!context){context=FirebugContext
5594 }if(FBTrace.DBG_ERRORS&&!context){FBTrace.sysout("Console.logRow has no context, skipping objects",…
5595 }if(!context){return
5596 }if(noThrottle||!context){var panel=this.getPanel(context);
5600 }else{consoleQueue.push([appender,objects,context,className,rep,sourceLink,noThrottle,noRow])
5601 }}else{if(!context.throttle){return
5602 }var args=[appender,objects,context,className,rep,sourceLink,true,noRow];
5603 context.throttle(this.logRow,this,args)
5604 }},appendFormatted:function(args,row,context){if(!context){context=FirebugContext argument
5605 }var panel=this.getPanel(context);
5607 },clear:function(context){if(!context){context=Firebug.context argument
5608 }var panel=this.getPanel(context,true);
5610 }},getPanel:function(context,noCreate){return Firebug.chrome?Firebug.chrome.getPanel("Console"):null argument
5620 }},showPanel:function(browser,panel){},getFirebugConsoleElement:function(context,win){var element=w… argument
5623 if(context.stopped){Firebug.Console.injector.evaluateConsoleScript(context)
5624 }else{var r=Firebug.CommandLine.evaluateInWebPage(elementForcer,context,win)
5628 }Firebug.Console.logFormatted(["Firebug cannot find _firebugConsole element",r,win],context,"error"…
5630context,win){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("console.isReadyElsePreparing, win is "+(win?"… argument
5631 }if(win){return this.injector.attachIfNeeded(context,win)
5634 i<context.windows.length;
5635 i++){attached=attached&&this.injector.attachIfNeeded(context,context.windows[i])
5636 }if(context.windows.indexOf(context.window)==-1){FBTrace.sysout("isReadyElsePreparing *************…
5637 }if(FBTrace.DBG_CONSOLE){FBTrace.sysout("console.isReadyElsePreparing attached to "+context.windows…
5642 }},initContext:function(context,persistedState){Firebug.ActivableModule.initContext.apply(this,argu… argument
5643 context.consoleReloadWarning=true
5644 },loadedContext:function(context){for(var url in context.sourceFileMap){return argument
5645 }this.clearReloadWarning(context)
5646 },clearReloadWarning:function(context){if(context.consoleReloadWarning){var panel=context.getPanel(… argument
5648 delete context.consoleReloadWarning
5649 }},togglePersist:function(context){var panel=context.getPanel(this.panelName); argument
5652 },showContext:function(browser,context){Firebug.chrome.setGlobalAttribute("cmd_clearConsole","disab… argument
5654 },destroyContext:function(context,persistedState){Firebug.Console.injector.detachConsole(context,co… argument
5672 },onMonitorScript:function(context,frame){Firebug.Console.log(frame,context) argument
5673 },onFunctionCall:function(context,frame,depth,calling){if(calling){Firebug.Console.openGroup([frame… argument
5674 }else{Firebug.Console.closeGroup(context)
5675 }},logRow:function(appender,objects,context,className,rep,sourceLink,noThrottle,noRow){if(!context)… argument
5676 }if(FBTrace.DBG_WINDOWS&&!context){FBTrace.sysout("Console.logRow: no context \n")
5679 Firebug.ConsoleListener={log:function(context,object,className,sourceLink){},logFormatted:function( argument
5692 this.insertLogLimit(this.context)
5774 this.context=Firebug.browser.window;
5780 if(!this.persistedContent&&Firebug.Console.isAlwaysEnabled()){this.insertLogLimit(this.context);
5782 if(this.context.consoleReloadWarning){this.insertReloadWarning()
5797 },ishow:function(state){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("Console.panel show; "+this.context.…
5806 …how ------------------ wasScrolledToBottom: "+this.wasScrolledToBottom+", "+this.context.getName())
5809 }},ihide:function(state){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("Console.panel hide; "+this.context
5812 …ide ------------------ wasScrolledToBottom: "+this.wasScrolledToBottom+", "+this.context.getName())
5815 …roy ------------------ wasScrolledToBottom: "+this.wasScrolledToBottom+", "+this.context.getName())
5818 …if(FBTrace.DBG_CONSOLE){FBTrace.sysout("console.ConsolePanel.enablePanel; "+this.context.getName())
5822 …f(FBTrace.DBG_CONSOLE){FBTrace.sysout("console.ConsolePanel.disablePanel; "+this.context.getName())
5882 …crolledToBottom: "+this.wasScrolledToBottom+", wasScrolledToBottom: "+this.context.getName(),event)
5883 …nelNode.scrollTop+", scrollHeight: "+this.panelNode.scrollHeight+", "+this.context.getName(),event)
5916 Firebug.Console.injector={install:function(context){var win=context.window; argument
5917 var consoleHandler=new FirebugConsoleHandler(context,win);
5937 },isAttached:function(context,win){if(win.wrappedJSObject){var attached=(win.wrappedJSObject._getFi… argument
5942 }},attachIfNeeded:function(context,win){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("Console.attachIfNee… argument
5943 }if(this.isAttached(context,win)){return true
5945 }this.attachConsoleInjector(context,win);
5946 this.addConsoleListener(context,win);
5947 Firebug.Console.clearReloadWarning(context);
5948 var attached=this.isAttached(context,win);
5949 if(attached){dispatch(Firebug.Console.fbListeners,"onConsoleInjected",[context,win])
5951 },attachConsoleInjector:function(context,win){var consoleInjection=this.getConsoleInjectionScript(); argument
5953 }Firebug.CommandLine.evaluateInWebPage(consoleInjection,context,win);
5966 },forceConsoleCompilationInPage:function(context,win){if(!win){if(FBTrace.DBG_CONSOLE){FBTrace.syso… argument
5969 if(context.stopped){Firebug.Console.injector.evaluateConsoleScript(context)
5970 }else{Firebug.CommandLine.evaluateInWebPage(consoleForcer,context,win)
5972 }},evaluateConsoleScript:function(context){var scriptSource=this.getConsoleInjectionScript(); argument
5973 Firebug.Debugger.evaluate(scriptSource,context)
5974 },addConsoleListener:function(context,win){if(!context.activeConsoleHandlers){context.activeConsole… argument
5976 i<context.activeConsoleHandlers.length;
5977 i++){if(context.activeConsoleHandlers[i].window==win){context.activeConsoleHandlers[i].detach();
5978 …LE){FBTrace.sysout("consoleInjector addConsoleListener removed handler("+context.activeConsoleHand…
5979 }context.activeConsoleHandlers.splice(i,1)
5980 }}}var element=Firebug.Console.getFirebugConsoleElement(context,win);
5983 }var handler=new FirebugConsoleHandler(context,win);
5985 context.activeConsoleHandlers.push(handler);
5988 },detachConsole:function(context,win){if(win&&win.document){var element=win.document.getElementById… argument
5992 var FirebugConsoleHandler=function FirebugConsoleHandler(context,win){this.window=win; argument
6027 this.dir=function(o){Firebug.Console.log(o,context,"dir",Firebug.DOMPanel.DirTable)
6031 }}Firebug.Console.log(o,context,"dirxml",Firebug.HTMLPanel.SoloElement)
6036 this.groupEnd=function(){Firebug.Console.closeGroup(context)
6111 }}}}}}Firebug.Console.log({frames:frames},context,"stackTrace",FirebugReps.StackTrace);
6133 }Firebug.Console.log({frames:frames},context,"stackTrace",FirebugReps.StackTrace)
6135 this.clear=function(){Firebug.Console.clear(context)
6154 this.evaluated=function(result,context){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("consoleInjector.Fir… argument
6155 }Firebug.Console.log(result,context)
6157 this.evaluateError=function(result,context){Firebug.Console.log(result,context,"errorMessage") argument
6160 return Firebug.Console.logFormatted(args,context,className,noThrottle,sourceLink)
6161 }function logAssert(category,args){Firebug.Errors.increaseCount(context);
6171 …g.fileName?msg.fileName:win.location),(msg.lineNumber?msg.lineNumber:0),"",category,context,trace);
6179 }}var row=Firebug.Console.log(objects,context,"errorMessage",null,true);
6190 }function getJSDUserStack(){var trace=FBL.getCurrentStackTrace(context);
6222 var _stack=function(command){Firebug.context.persistedState.commandHistory.push(command);
6223 Firebug.context.persistedState.commandPointer=Firebug.context.persistedState.commandHistory.length
6236 Firebug.context.persistedState.commandHistory=Firebug.context.persistedState.commandHistory||[];
6237 Firebug.context.persistedState.commandPointer=Firebug.context.persistedState.commandPointer||-1;
6276 var result=Firebug.context.evaluate(expr,"window",api,Firebug.Console.error);
6284context.persistedState.commandPointer>0&&Firebug.context.persistedState.commandHistory.length>0){t…
6286 var limit=Firebug.context.persistedState.commandHistory.length-1;
6287 var i=Firebug.context.persistedState.commandPointer;
6288 if(i<limit){element.value=Firebug.context.persistedState.commandHistory[++Firebug.context.persisted…
6289 }else{if(i==limit){++Firebug.context.persistedState.commandPointer;
6364 },$$:function(selector,context){context=context||Firebug.browser.document; argument
6365 return Firebug.Selector?Firebug.Selector(selector,context):Firebug.Console.error("Firebug.Selector …
6366 },$0:null,$1:null,dir:function(o){Firebug.Console.log(o,Firebug.context,"dir",Firebug.DOMPanel.DirT…
6369 }}Firebug.Console.log(o,Firebug.context,"dirxml",Firebug.HTMLPanel.SoloElement)
6479context.persistedState.selectedHTMLElementId=Firebug.context.persistedState.selectedHTMLElementId&…
6480 Firebug.HTML.selectTreeNode(Firebug.context.persistedState.selectedHTMLElementId)
6490 …,reattach:function(){if(Firebug.context.persistedState.selectedHTMLElementId){Firebug.HTML.selectT…
6507 Firebug.context.persistedState.selectedHTMLElementId=e.id;
7110 var css=getStyleSheetCSS(styleSheet,this.context);
7114 }else{return this.context.window.location.href
7124 setClassTimed(ruleElement,"jumpHighlight",this.context)
7125 }},getStyleSheetRules:function(context,styleSheet){var isSystemSheet=isSystemStyleSheet(styleSheet); argument
7129 if(instanceOf(rule,"CSSStyleRule")){var props=this.getRuleProperties(context,rule);
7154 },getRuleProperties:function(context,rule,inheritMode){var props=this.parseCSSProps(rule.style,inhe… argument
7157 this.addOldProperties(context,ruleId,inheritMode,props);
7160 …rties:function(context,ruleId,inheritMode,props){if(context.selectorMap&&context.selectorMap.hasOw… argument
7201 if(this.context.selectorMap&&this.context.selectorMap.hasOwnProperty(ruleId)){var map=this.context.…
7212 if(!this.context.selectorMap){this.context.selectorMap={}
7214 if(!(this.context.selectorMap.hasOwnProperty(ruleId))){this.context.selectorMap[ruleId]=[]
7215 }var map=this.context.selectorMap[ruleId];
7257 this.context=Firebug.chrome;
7274 if(this.context.loaded&&!this.location){restoreObjects(this,state);
7289 }var rules=this.getStyleSheetRules(this.context,styleSheet);
7299 var sourceFile=getSourceFileByHref(sourceLink.href,this.context);
7303 if(lineNo){this.scrollToLine(lineNo,this.jumpHighlightFactory(lineNo,this.context))
7304 }}else{var stylesheet=getStyleSheetByHref(sourceLink.href,this.context);
7309 }},getLocationList:function(){var styleSheets=getAllStyleSheets(this.context);
7355 }},getDefaultLocation:function(){try{var styleSheets=this.context.window.document.styleSheets;
7423 }var props=this.getRuleProperties(this.context,rule,inheritMode);
7445 this.addOldProperties(this.context,getElementXPath(element),inheritMode,props);
7449 }},name:"css",title:"Style",parentPanel:"HTML",order:0,initialize:function(){this.context=Firebug.c…
7452 var selection=ElementCache.get(Firebug.context.persistedState.selectedHTMLElementId);
7479 if(newState!=this.contentState){this.context.invalidatePanels(this.name)
7642 }function getStyleSheetCSS(sheet,context){if(sheet.ownerNode instanceof HTMLStyleElement){return sh… argument
7643 }else{return context.sourceCache.load(sheet.href).join("")
7835 ++i){this.context.clearTimeout(this.timeouts[i])
7850 …rs.splice(0,insertSliceSize),isLast:!members.length}){timeouts.push(this.context.setTimeout(functi…
7855 }}if(offscreen){timeouts.push(this.context.setTimeout(function(){if(panelNode.firstChild){panelNode…
7859 }else{timeouts.push(this.context.setTimeout(function(){panelNode.scrollTop=scrollTop==undefined?0:s…
7876 if(object instanceof jsdIStackFrame){return Firebug.Debugger.evaluate(propName,this.context)
7884 }},create:function(){this.context=Firebug.browser;
7896 },ishow:function(state){if(this.context.loaded&&!this.selection){if(!state){this.select(null);
7900 }var defaultObject=this.getDefaultSelection(this.context);
7902 if(state.firstSelection){var restored=state.firstSelection(this.context);
8136 var selection=ElementCache.get(Firebug.context.persistedState.selectedHTMLElementId);