rem: var windowManager = XPCU.getService(kWindowMediatorCID, "nsIWindowMediator"); 
add: var windowManager = XPCU.getService(kWindowDataSourceCID, "nsIWindowDataSource"); 
context:   setTargetWindowById: function(aResId)  {    var windowManager = XPCU.getService(kWindowMediatorCID, "nsIWindowMediator");    var win = windowManager.getWindowForResource(aResId);    if (win) {      this.setTargetWindow(win);      this.toggleBrowser(true, false);    } else      alert("Unable to switch to window.");  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/22602b22191240bf29273c4c2ab48eff8ccfd688/inspector.js/buggy/extensions/inspector/resources/content/inspector.js