rem: } else alert("Unable to switch to window."); 
add: } else { var bundle = this.mPanelSet.stringBundle; var msg = bundle.getString("inspectWindow.error.message"); var title = bundle.getString("inspectWindow.error.title"); this.mPromptService.alert(window, title, msg); } 
context:   setTargetWindowById: function(aResId)  {    var windowManager = XPCU.getService(kWindowDataSourceCID, "nsIWindowDataSource");    var win = windowManager.getWindowForResource(aResId);    if (win) {      this.setTargetWindow(win);      this.setBrowser(false, true);    } else      alert("Unable to switch to window.");  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2e5037068b1cdfad71a584a4f840def35e6af75e/inspector.js/clean/extensions/inspector/resources/content/inspector.js