Lines Matching defs:win

460 this.iterateWindows=function(win,handler){if(!win||!win.document){return
461 }handler(win);
462 if(win==top||!win.frames){return
464 i<win.frames.length;
465 ++i){var subWin=win.frames[i];
466 if(subWin!=win){this.iterateWindows(subWin,handler)
468 this.getRootWindow=function(win){for(;
469 win;
470 win=win.parent){if(!win.parent||win==win.parent||!this.instanceOf(win.parent,"Window")){return win
513 }var win=elt.ownerDocument.defaultView;
514 if(win&&(!singleFrame&&win.frameElement)){addOffset(win.frameElement,coords,win)
1072 this.isSystemPage=function(win){try{var doc=win.document;
1075 }return FBL.isSystemURL(win.location.href)
1262 }if(object.ownerDocument){var win=object.ownerDocument.defaultView||object.ownerDocument.parentWindow;
1263 if(className in win&&object instanceof win[className]){return true
1264 }}else{var win=Firebug.browser.window;
1265 if(className in win){return object instanceof win[className]
1691 },watchWindow:function(win){},unwatchWindow:function(win){},updateOption:function(name,value){},showToolbarButtons:function(buttonsId,show){try{if(!this.context.browser){if(FBTrace.DBG_ERRORS){FBTrace.sysout("firebug.Panel showToolbarButtons this.context has no browser, this:",this)
2072 FBL.Context=function(win){this.window=win.window;
2073 this.document=win.document;
2079 FBL.Context.prototype={browser:null,loaded:true,setTimeout:function(fn,delay){var win=this.window;
2080 if(win.setTimeout==this.setTimeout){throw new Error("setTimeout recursion")
2081 }var timeout=win.setTimeout.apply?win.setTimeout.apply(win,arguments):win.setTimeout(fn,delay);
2087 }},setInterval:function(fn,delay){var win=this.window;
2088 var timeout=win.setInterval.apply?win.setInterval.apply(win,arguments):win.setInterval(fn,delay);
2339 }var win,waitDelay=useLocalSkin?isChromeFrame?200:300:100,waitForWindow=function(){if(isChromeFrame&&(win=node.contentWindow)&&node.contentWindow.document.getElementById("fbCommandLine")||!isChromeFrame&&(win=node.window)&&node.document&&node.document.getElementById("fbCommandLine")){chrome.window=win.window;
2340 chrome.document=win.document;
2840 var win=isIE?event.srcElement.ownerDocument.parentWindow:event.target.defaultView||event.target.ownerDocument&&event.target.ownerDocument.defaultView;
2841 if(!win){return
2842 }if(win!=win.parent){var frameElement=win.frameElement;
2846 }}}if(isOpera&&isQuiksMode&&win.frameElement.id=="FirebugUI"){clientY=Firebug.browser.getWindowSize().height-win.frameElement.offsetHeight+clientY
2884 var win=document.all?event.srcElement.ownerDocument.parentWindow:event.target.ownerDocument.defaultView;
2885 if(win!=win.parent){clientX+=win.frameElement?win.frameElement.offsetLeft:0
3068 (function(){var store=(function(){var api={},win=window,doc=win.document,localStorageName="localStorage",globalStorageName="globalStorage",namespace="__firebug__storejs__",storage;
3084 function isLocalStorageNameSupported(){try{return(localStorageName in win&&win[localStorageName])
3086 }}function isGlobalStorageNameSupported(){try{return(globalStorageName in win&&win[globalStorageName]&&win[globalStorageName][win.location.hostname])
3088 }}if(isLocalStorageNameSupported()){storage=win[localStorageName];
3097 }else{if(isGlobalStorageNameSupported()){storage=win[globalStorageName][win.location.hostname];
4387 },getTitle:function(win,context){return"document"
4401 this.Window=domplate(Firebug.Rep,{tag:OBJECTLINK("Window ",SPAN({"class":"objectPropValue"},"$object|getLocation")),getLocation:function(win){try{return(win&&win.location&&!win.closed)?getFileName(win.location.href):""
4404 },browseObject:function(win,context){openNewTab(win.location.href);
4406 },persistObject:function(win,context){return this.persistor
4408 },getTitle:function(win,context){return"window"
4409 },getTooltip:function(win){if(win&&!win.closed){return win.location.href
4669 }}},attachListeners:function(editor,context){var win=isIE?currentTarget.ownerDocument.parentWindow:currentTarget.ownerDocument.defaultView;
4670 addEvent(win,"resize",this.onResize);
4671 addEvent(win,"blur",this.onBlur);
4680 }var win=isIE?currentTarget.ownerDocument.parentWindow:currentTarget.ownerDocument.defaultView;
4681 removeEvent(win,"resize",this.onResize);
4682 removeEvent(win,"blur",this.onBlur);
5432 }},watchWindow:function(context,win){if(Firebug.showXMLHttpRequests&&Firebug.Console.isAlwaysEnabled()){this.attachObserver(context,win)
5433 }},unwatchWindow:function(context,win){try{this.detachObserver(context,win)
5439 iterateWindows(context.window,function(win){tach.apply(this,[context,win])
5441 }}},skipSpy:function(win){if(!win){return true
5442 }var uri=safeGetWindowLocation(win);
5444 }},attachObserver:function(context,win){if(Firebug.Spy.skipSpy(win)){return
5447 ++i){if((contexts[i].context==context)&&(contexts[i].win==win)){return
5450 }contexts.push({context:context,win:win});
5452 }},detachObserver:function(context,win){for(var i=0;
5454 ++i){if(contexts[i].context==context){if(win&&(contexts[i].win!=win)){continue
5631 }},showPanel:function(browser,panel){},getFirebugConsoleElement:function(context,win){var element=win.document.getElementById("_firebugConsole");
5635 }else{var r=Firebug.CommandLine.evaluateInWebPage(elementForcer,context,win)
5637 }var element=win.document.getElementById("_firebugConsole");
5638 if(!element){if(FBTrace.DBG_ERRORS){FBTrace.sysout("console.getFirebugConsoleElement: no _firebugConsole in win:",win)
5639 }Firebug.Console.logFormatted(["Firebug cannot find _firebugConsole element",r,win],context,"error",true)
5641 },isReadyElsePreparing:function(context,win){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("console.isReadyElsePreparing, win is "+(win?"an argument: ":"null, context.window: ")+(win?win.location:context.window.location),(win?win:context.window))
5642 }if(win){return this.injector.attachIfNeeded(context,win)
5927 Firebug.Console.injector={install:function(context){var win=context.window;
5928 var consoleHandler=new FirebugConsoleHandler(context,win);
5942 if(win.console){if(Env.Options.overrideConsole){sandbox=new win.Function("arguments.callee.install(window.console={})")
5944 }}else{try{sandbox=new win.Function("arguments.callee.install(window.console={})")
5945 }catch(E){sandbox=new win.Function("arguments.callee.install(window.firebug={})")
5948 },isAttached:function(context,win){if(win.wrappedJSObject){var attached=(win.wrappedJSObject._getFirebugConsoleElement?true:false);
5949 if(FBTrace.DBG_CONSOLE){FBTrace.sysout("Console.isAttached:"+attached+" to win.wrappedJSObject "+safeGetWindowLocation(win.wrappedJSObject))
5951 }else{if(FBTrace.DBG_CONSOLE){FBTrace.sysout("Console.isAttached? to win "+win.location+" fnc:"+win._getFirebugConsoleElement)
5952 }return(win._getFirebugConsoleElement?true:false)
5953 }},attachIfNeeded:function(context,win){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("Console.attachIfNeeded has win "+(win?((win.wrappedJSObject?"YES":"NO")+" wrappedJSObject"):"null"))
5954 }if(this.isAttached(context,win)){return true
5956 }this.attachConsoleInjector(context,win);
5957 this.addConsoleListener(context,win);
5959 var attached=this.isAttached(context,win);
5960 if(attached){dispatch(Firebug.Console.fbListeners,"onConsoleInjected",[context,win])
5962 },attachConsoleInjector:function(context,win){var consoleInjection=this.getConsoleInjectionScript();
5963 if(FBTrace.DBG_CONSOLE){FBTrace.sysout("attachConsoleInjector evaluating in "+win.location,consoleInjection)
5964 }Firebug.CommandLine.evaluateInWebPage(consoleInjection,context,win);
5965 if(FBTrace.DBG_CONSOLE){FBTrace.sysout("attachConsoleInjector evaluation completed for "+win.location)
5977 },forceConsoleCompilationInPage:function(context,win){if(!win){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("no win in forceConsoleCompilationInPage!")
5981 }else{Firebug.CommandLine.evaluateInWebPage(consoleForcer,context,win)
5982 }if(FBTrace.DBG_CONSOLE){FBTrace.sysout("forceConsoleCompilationInPage "+win.location,consoleForcer)
5985 },addConsoleListener:function(context,win){if(!context.activeConsoleHandlers){context.activeConsoleHandlers=[]
5988 i++){if(context.activeConsoleHandlers[i].window==win){context.activeConsoleHandlers[i].detach();
5989 if(FBTrace.DBG_CONSOLE){FBTrace.sysout("consoleInjector addConsoleListener removed handler("+context.activeConsoleHandlers[i].handler_name+") from _firebugConsole in : "+win.location+"\n")
5991 }}}var element=Firebug.Console.getFirebugConsoleElement(context,win);
5994 }var handler=new FirebugConsoleHandler(context,win);
5997 if(FBTrace.DBG_CONSOLE){FBTrace.sysout("consoleInjector addConsoleListener attached handler("+handler.handler_name+") to _firebugConsole in : "+win.location+"\n")
5999 },detachConsole:function(context,win){if(win&&win.document){var element=win.document.getElementById("_firebugConsole");
6003 var FirebugConsoleHandler=function FirebugConsoleHandler(context,win){this.window=win;
6012 }if(!Firebug.CommandLine.CommandHandler.handle(event,this,win)){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("FirebugConsoleHandler",this)
6017 this.init=function(){var consoleElement=win.document.getElementById("_firebugConsole");
6182 }}}var errorObject=new FBL.ErrorMessage(msg,(msg.fileName?msg.fileName:win.location),(msg.lineNumber?msg.lineNumber:0),"",category,context,trace);
6193 var userURL=win.location.href.toString();
6214 FBL.registerConsole=function(){var win=Env.browser.window;
6215 Firebug.Console.injector.install(win)
7465 }},ishow:function(state){},watchWindow:function(win){if(domUtils){var doc=win.document
7466 }},unwatchWindow:function(win){var doc=win.document;
7496 }}}function CSSComputedElementPanel(){}CSSComputedElementPanel.prototype=extend(CSSElementPanel.prototype,{template:domplate({computedTag:DIV({"class":"a11yCSSView",role:"list","aria-label":$STR("aria.labels.computed styles")},FOR("group","$groups",H1({"class":"cssInheritHeader groupHeader focusRow",role:"listitem"},SPAN({"class":"cssInheritLabel"},"$group.title")),TABLE({width:"100%",role:"group"},TBODY({role:"presentation"},FOR("prop","$group.props",TR({"class":"focusRow computedStyleRow",role:"listitem"},TD({"class":"stylePropName",role:"presentation"},"$prop.name"),TD({"class":"stylePropValue",role:"presentation"},"$prop.value")))))))}),updateComputedView:function(element){var win=isIE?element.ownerDocument.parentWindow:element.ownerDocument.defaultView;
7497 var style=isIE?element.currentStyle:win.getComputedStyle(element,"");
7964 var win=Firebug.browser.window;
7965 if(object===win){this.pathIndex=0;
7966 this.objectPath=[win];
7970 this.objectPath=[win,object];