Lines Matching refs:win

460 this.iterateWindows=function(win,handler){if(!win||!win.document){return  argument
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(; argument
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; argument
1075 }return FBL.isSystemURL(win.location.href)
1262 }if(object.ownerDocument){var win=object.ownerDocument.defaultView||object.ownerDocument.parentWind…
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){},sho… argument
2072 FBL.Context=function(win){this.window=win.window; argument
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);
2339win,waitDelay=useLocalSkin?isChromeFrame?200:300:100,waitForWindow=function(){if(isChromeFrame&&(w…
2340 chrome.document=win.document;
2840 var win=isIE?event.srcElement.ownerDocument.parentWindow:event.target.defaultView||event.target.own…
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…
2884 var win=document.all?event.srcElement.ownerDocument.parentWindow:event.target.ownerDocument.default…
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="localSto…
3084 function isLocalStorageNameSupported(){try{return(localStorageName in win&&win[localStorageName])
3086 …eNameSupported(){try{return(globalStorageName in win&&win[globalStorageName]&&win[globalStorageNam…
3088 }}if(isLocalStorageNameSupported()){storage=win[localStorageName];
3097 }else{if(isGlobalStorageNameSupported()){storage=win[globalStorageName][win.location.hostname];
4387 },getTitle:function(win,context){return"document" argument
4401 …"$object|getLocation")),getLocation:function(win){try{return(win&&win.location&&!win.closed)?getFi… argument
4404 },browseObject:function(win,context){openNewTab(win.location.href); argument
4406 },persistObject:function(win,context){return this.persistor argument
4408 },getTitle:function(win,context){return"window" argument
4409 },getTooltip:function(win){if(win&&!win.closed){return win.location.href argument
4669 }}},attachListeners:function(editor,context){var win=isIE?currentTarget.ownerDocument.parentWindow:…
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 …hWindow:function(context,win){if(Firebug.showXMLHttpRequests&&Firebug.Console.isAlwaysEnabled()){t… argument
5433 }},unwatchWindow:function(context,win){try{this.detachObserver(context,win) argument
5439 iterateWindows(context.window,function(win){tach.apply(this,[context,win]) argument
5441 }}},skipSpy:function(win){if(!win){return true argument
5442 }var uri=safeGetWindowLocation(win);
5444 }},attachObserver:function(context,win){if(Firebug.Spy.skipSpy(win)){return argument
5447 ++i){if((contexts[i].context==context)&&(contexts[i].win==win)){return
5450 }contexts.push({context:context,win:win}); property
5452 }},detachObserver:function(context,win){for(var i=0; argument
5454 ++i){if(contexts[i].context==context){if(win&&(contexts[i].win!=win)){continue
5631 …nction(browser,panel){},getFirebugConsoleElement:function(context,win){var element=win.document.ge… argument
5635 }else{var r=Firebug.CommandLine.evaluateInWebPage(elementForcer,context,win)
5637 }var element=win.document.getElementById("_firebugConsole");
5638 …race.DBG_ERRORS){FBTrace.sysout("console.getFirebugConsoleElement: no _firebugConsole in win:",win)
5639 }Firebug.Console.logFormatted(["Firebug cannot find _firebugConsole element",r,win],context,"error"…
5641win){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("console.isReadyElsePreparing, win is "+(win?"an argum… argument
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(…
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._getFi… argument
5949 …onsole.isAttached:"+attached+" to win.wrappedJSObject "+safeGetWindowLocation(win.wrappedJSObject))
5951 }else{if(FBTrace.DBG_CONSOLE){FBTrace.sysout("Console.isAttached? to win "+win.location+" fnc:"+win
5952 }return(win._getFirebugConsoleElement?true:false)
5953 …attachIfNeeded:function(context,win){if(FBTrace.DBG_CONSOLE){FBTrace.sysout("Console.attachIfNeede… argument
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(); argument
5963 if(FBTrace.DBG_CONSOLE){FBTrace.sysout("attachConsoleInjector evaluating in "+win.location,consoleI…
5964 }Firebug.CommandLine.evaluateInWebPage(consoleInjection,context,win);
5965 if(FBTrace.DBG_CONSOLE){FBTrace.sysout("attachConsoleInjector evaluation completed for "+win.locati…
5977 },forceConsoleCompilationInPage:function(context,win){if(!win){if(FBTrace.DBG_CONSOLE){FBTrace.syso… argument
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.activeConsole… argument
5988 i++){if(context.activeConsoleHandlers[i].window==win){context.activeConsoleHandlers[i].detach();
5989 …r("+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 …oleListener 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… argument
6003 var FirebugConsoleHandler=function FirebugConsoleHandler(context,win){this.window=win; argument
6012 }if(!Firebug.CommandLine.CommandHandler.handle(event,this,win)){if(FBTrace.DBG_CONSOLE){FBTrace.sys…
6017 this.init=function(){var consoleElement=win.document.getElementById("_firebugConsole");
6182 }}}var errorObject=new FBL.ErrorMessage(msg,(msg.fileName?msg.fileName:win.location),(msg.lineNumbe…
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 argument
7466 }},unwatchWindow:function(win){var doc=win.document; argument
7496 …entation"},"$prop.value")))))))}),updateComputedView:function(element){var win=isIE?element.ownerD…
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];