Lines Matching refs:win

1281 this.iterateWindows = function(win, handler)  argument
1283 if (!win || !win.document)
1286 handler(win);
1288 if (win == top || !win.frames) return; // XXXjjb hack for chromeBug
1290 for (var i = 0; i < win.frames.length; ++i)
1292 var subWin = win.frames[i];
1293 if (subWin != win)
1298 this.getRootWindow = function(win) argument
1300 for (; win; win = win.parent)
1302 if (!win.parent || win == win.parent || !this.instanceOf(win.parent, "Window"))
1303 return win;
1418 var win = elt.ownerDocument.defaultView;
1419 if (win && (!singleFrame && win.frameElement))
1420 addOffset(win.frameElement, coords, win);
2942 this.isSystemPage = function(win) argument
2946 var doc = win.document;
2957 return FBL.isSystemURL(win.location.href);
3488 var win = object.ownerDocument.defaultView || object.ownerDocument.parentWindow;
3495 if (className in win && object instanceof win[className])
3505 var win = Firebug.browser.window;
3506 if (className in win)
3507 return object instanceof win[className];
7045 watchWindow: function(win) argument
7049 unwatchWindow: function(win) argument
8596 FBL.Context = function(win) argument
8598 this.window = win.window;
8599 this.document = win.document;
8631 var win = this.window;
8633 if (win.setTimeout == this.setTimeout)
8636 var timeout = win.setTimeout.apply ? // IE doesn't have apply method on setTimeout
8637 win.setTimeout.apply(win, arguments) :
8638 win.setTimeout(fn, delay);
8658 var win = this.window;
8660 var timeout = win.setInterval.apply ? // IE doesn't have apply method on setTimeout
8661 win.setInterval.apply(win, arguments) :
8662 win.setInterval(fn, delay);
9629 var win,
9636 isChromeFrame && (win=node.contentWindow) &&
9640 !isChromeFrame && (win=node.window) && node.document &&
9643 chrome.window = win.window;
9644 chrome.document = win.document;
11428 var win = isIE
11432 if (!win)
11435 if (win != win.parent)
11437 var frameElement = win.frameElement;
11448 if (isOpera && isQuiksMode && win.frameElement.id == "FirebugUI")
11450 clientY = Firebug.browser.getWindowSize().height - win.frameElement.offsetHeight + clientY;
11552 var win = document.all
11556 if (win != win.parent)
11557 clientX += win.frameElement ? win.frameElement.offsetLeft : 0;
12513 win = window,
12514 doc = win.document,
12544 try { return (localStorageName in win && win[localStorageName]) }
12549 …try { return (globalStorageName in win && win[globalStorageName] && win[globalStorageName][win.loc…
12554 storage = win[localStorageName]
12561 storage = win[globalStorageName][win.location.hostname]
16381 getTitle: function(win, context) argument
16464 getLocation: function(win) argument
16468 return (win && win.location && !win.closed) ? getFileName(win.location.href) : "";
16486 browseObject: function(win, context) argument
16488 openNewTab(win.location.href);
16492 persistObject: function(win, context) argument
16502 getTitle: function(win, context) argument
16507 getTooltip: function(win) argument
16509 if (win && !win.closed)
16510 return win.location.href;
17565 var win = isIE ?
17569 addEvent(win, "resize", this.onResize);
17570 addEvent(win, "blur", this.onBlur);
17624 var win = isIE ?
17628 removeEvent(win, "resize", this.onResize);
17629 removeEvent(win, "blur", this.onBlur);
20589 watchWindow: function(context, win) argument
20592 this.attachObserver(context, win);
20595 unwatchWindow: function(context, win) argument
20600 this.detachObserver(context, win);
20620 iterateWindows(context.window, function(win) argument
20622 tach.apply(this, [context, win]);
20634 skipSpy: function(win) argument
20636 if (!win)
20640 var uri = safeGetWindowLocation(win);
20645 attachObserver: function(context, win) argument
20647 if (Firebug.Spy.skipSpy(win))
20652 if ((contexts[i].context == context) && (contexts[i].win == win))
20663 contexts.push({context: context, win: win});
20669 detachObserver: function(context, win) argument
20675 if (win && (contexts[i].win != win))
21824 getFirebugConsoleElement: function(context, win) argument
21826 var element = win.document.getElementById("_firebugConsole");
21836 var r = Firebug.CommandLine.evaluateInWebPage(elementForcer, context, win);
21841 var element = win.document.getElementById("_firebugConsole");
21844 …ce.DBG_ERRORS) FBTrace.sysout("console.getFirebugConsoleElement: no _firebugConsole in win:", win);
21845 …Firebug.Console.logFormatted(["Firebug cannot find _firebugConsole element", r, win], context, "er…
21852 …isReadyElsePreparing: function(context, win) // this is the only code that should call injector.at… argument
21856 (win?"an argument: ":"null, context.window: ") +
21857 (win?win.location:context.window.location), (win?win:context.window));
21859 if (win)
21860 return this.injector.attachIfNeeded(context, win);
22830 var win = context.window;
22832 var consoleHandler = new FirebugConsoleHandler(context, win);
22877 if (win.console)
22880 sandbox = new win.Function("arguments.callee.install(window.console={})");
22890 sandbox = new win.Function("arguments.callee.install(window.console={})");
22895 sandbox = new win.Function("arguments.callee.install(window.firebug={})");
22903 isAttached: function(context, win) argument
22905 if (win.wrappedJSObject)
22907 var attached = (win.wrappedJSObject._getFirebugConsoleElement ? true : false);
22909 …nsole.isAttached:"+attached+" to win.wrappedJSObject "+safeGetWindowLocation(win.wrappedJSObject));
22916 … FBTrace.sysout("Console.isAttached? to win "+win.location+" fnc:"+win._getFirebugConsoleElement);
22917 return (win._getFirebugConsoleElement ? true : false);
22921 attachIfNeeded: function(context, win) argument
22924 …FBTrace.sysout("Console.attachIfNeeded has win "+(win? ((win.wrappedJSObject?"YES":"NO")+" wrapped…
22926 if (this.isAttached(context, win))
22932 this.attachConsoleInjector(context, win);
22933 this.addConsoleListener(context, win);
22937 var attached = this.isAttached(context, win);
22939 dispatch(Firebug.Console.fbListeners, "onConsoleInjected", [context, win]);
22944 attachConsoleInjector: function(context, win) argument
22949 FBTrace.sysout("attachConsoleInjector evaluating in "+win.location, consoleInjection);
22951 Firebug.CommandLine.evaluateInWebPage(consoleInjection, context, win);
22954 FBTrace.sysout("attachConsoleInjector evaluation completed for "+win.location);
22981 forceConsoleCompilationInPage: function(context, win) argument
22983 if (!win)
22995 Firebug.CommandLine.evaluateInWebPage(consoleForcer, context, win);
22998 FBTrace.sysout("forceConsoleCompilationInPage "+win.location, consoleForcer);
23007 addConsoleListener: function(context, win) argument
23015 if (context.activeConsoleHandlers[i].window == win)
23019 …("+context.activeConsoleHandlers[i].handler_name+") from _firebugConsole in : "+win.location+"\n");
23026 var element = Firebug.Console.getFirebugConsoleElement(context, win);
23032 var handler = new FirebugConsoleHandler(context, win);
23038 …leListener attached handler("+handler.handler_name+") to _firebugConsole in : "+win.location+"\n");
23042 detachConsole: function(context, win) argument
23044 if (win && win.document)
23046 var element = win.document.getElementById("_firebugConsole");
23054 var FirebugConsoleHandler = function FirebugConsoleHandler(context, win) argument
23056 this.window = win;
23076 if (!Firebug.CommandLine.CommandHandler.handle(event, this, win))
23090 var consoleElement = win.document.getElementById('_firebugConsole');
23566 …var errorObject = new FBL.ErrorMessage(msg, (msg.fileName?msg.fileName:win.location), (msg.lineNum…
23590 var userURL = win.location.href.toString();
23647 var win = Env.browser.window;
23648 Firebug.Console.injector.install(win);
28105 watchWindow: function(win) argument
28111 var doc = win.document;
28116 unwatchWindow: function(win) argument
28118 var doc = win.document;
28297 var win = isIE ?
28303 win.getComputedStyle(element, "");
30043 var win = Firebug.browser.window;
30045 if (object === win)
30048 this.objectPath = [win];
30055 this.objectPath = [win, object];