case "cmd_addons": const EMTYPE = "Extension:Manager";  var aOpenMode = "extensions"; var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator); var needToOpen = true; var windowType = EMTYPE + "-" + aOpenMode; var windows = wm.getEnumerator(windowType); while (windows.hasMoreElements()) { var theEM = windows.getNext().QueryInterface(Components.interfaces.nsIDOMWindowInternal); if (theEM.document.documentElement.getAttribute("windowtype") == windowType) { theEM.focus(); needToOpen = false; break; } }  if (needToOpen) { const EMURL = "chrome: const EMFEATURES = "chrome,dialog=no,resizable=yes"; window.openDialog(EMURL, "", EMFEATURES); } break; 
  doCommand : function(aCmd) {    switch (aCmd) {      case "cmd_cut":      case "cmd_copy":      case "cmd_paste":      case "cmd_delete":      case "cmd_selectAll":        goDoCommand(aCmd);        break;      case "cmd_copylink":        var target = document.popupNode;        if (target instanceof HTMLAnchorElement && target.href) {          var clipboard = Cc["@mozilla.org/widget/clipboardhelper;1"].getService(Ci.nsIClipboardHelper);          clipboard.copyString(target.href);        }        break;      case "cmd_print":        PrintUtils.print();        break;      case "cmd_pageSetup":        PrintUtils.showPageSetup();        break;      case "cmd_about":        window.openDialog("chrome://webrunner/content/about.xul", "about", "centerscreen,modal");        break;      case "cmd_back":        this._getBrowser().goBack();        break;      case "cmd_forward":        this._getBrowser().goForward();        break;      case "cmd_home":        this._getBrowser().loadURI(this._profile.uri, null, null);        break;      case "cmd_reload":        this._getBrowser().reload();        break;      case "cmd_close":        close();        break;      case "cmd_quit":        goQuitApplication();        break;      case "cmd_console":        window.open("chrome://global/content/console.xul", "_blank", "chrome,extrachrome,dependent,menubar,resizable,scrollbars,status,toolbar");        break;      case "cmd_install":        window.openDialog("chrome://webrunner/content/install-shortcut.xul", "install", "centerscreen,modal", this._profile);        break;    }  },
705	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/705/9e13dbea29dcd785a29a742680f77f8b017e1de1/webrunner.js/clean/app/chrome/content/webrunner.js