rem: if (FBTrace.DBG_WINDOWS)                                                                                           /*@explore*/ FBTrace.sysout("tabWatcher.onLoadWindowContent event.type="+event.type+"\n");                                  /*@explore*/ 
add: if (FBTrace.DBG_WINDOWS)                                                                                           /*@explore*/ FBTrace.sysout("tabWatcher.onLoadWindowContent event.type="+event.type+"\n");                                  /*@explore*/ 
context: function onLoadWindowContent(event){	if (FBTrace.DBG_WINDOWS)                                                                                           /*@explore*/		FBTrace.sysout("tabWatcher.onLoadWindowContent event.type="+event.type+"\n");                                  /*@explore*/                                                                                                                       /*@explore*/    var win = event.currentTarget;    try    {        win.removeEventListener("pageshow", onLoadWindowContent, true);		if (FBTrace.DBG_INITIALIZE) FBTrace.sysout("tabWatcher.onLoadWindowContent  pageshow removeEventListener\n");  /*@explore*/    }    catch (exc) {}    try    {        win.removeEventListener("DOMContentLoaded", onLoadWindowContent, true); 		if (FBTrace.DBG_INITIALIZE) FBTrace.sysout("tabWatcher.onLoadWindowContent  DOMContentLoaded removeEventListener\n"); /*@explore*/    }    catch (exc) {}	// Signal that we got the onLoadWindowContent event. This prevents the FrameProgressListener from sending it.	var context = TabWatcher.getContextByWindow(win);	if (context)		context.onLoadWindowContent = true;    // Calling this after a timeout because I'm finding some cases where calling    // it here causes freezeup when this results in loading a script file. This fixes that.    setTimeout(function()    {        TabWatcher.watchLoadedTopWindow(win);    });}
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/e1d42ad3fad63b72826a4e2ed0726866484c9ac3/tabWatcher.js/clean/extension/content/firebug/tabWatcher.js