rem:  var win = gBrowser.docShell.getInterface(Components.interfaces.nsIDOMWindow); gDebugger.init(win); 
add: gDebugger.init(gBrowser.contentWindow); 
context: function OnLDBLoad(){  gBrowser = document.getElementById("browser");  gProgressListener = new nsLDBBrowserContentListener();  gBrowser.addProgressListener(gProgressListener);  gDebugger = Components.classes[NS_LAYOUT_DEBUGGINGTOOLS_CONTRACTID].                  createInstance(nsILayoutDebuggingTools);  if (window.arguments && window.arguments[0])    gBrowser.loadURI(window.arguments[0]);  else    gBrowser.goHome();  // XXX Shouldn't this be gBrowser.contentWindow?  var win = gBrowser.docShell.getInterface(Components.interfaces.nsIDOMWindow);  gDebugger.init(win);  checkPersistentMenus();  gRTestIndexList = new RTestIndexList();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/53b6e66263ca0974248ca06f81df6ced5a3c7b0e/layoutdebug.js/clean/extensions/layout-debug/ui/content/layoutdebug.js