context:   startup : function()  {    this._ios = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);    if (window.arguments && window.arguments[0])      this._params = new Params(window.arguments[0].QueryInterface(Ci.nsICommandLine));    else      this._params = new Params(null);      // Process parameters    document.documentElement.setAttribute("id", this._params.icon);      document.getElementById("statusbar").hidden = !this._params.showstatus;    document.getElementById("locationbar").hidden = !this._params.showlocation;      if (!this._params.enablenavigation) {      // remove navigation key from the document      var keys = document.getElementsByTagName("key");      for (var i = keys.length - 1; i >= 0; i--)        if (keys[i].className == "nav")          keys[i].parentNode.removeChild(keys[i]);    }      // hookup the browser window callbacks    window.QueryInterface(Ci.nsIInterfaceRequestor)          .getInterface(Ci.nsIWebNavigation)          .QueryInterface(Ci.nsIDocShellTreeItem)          .treeOwner          .QueryInterface(Ci.nsIInterfaceRequestor)          .getInterface(Ci.nsIXULWindow)          .XULBrowserWindow = BrowserWindow;      var self = this;        var browser = this._getBrowser();    browser.addEventListener("DOMTitleChanged", function(aEvent) { self._domTitleChanged(aEvent); }, true)    browser.webProgress.addProgressListener(BrowserProgressListener, Ci.nsIWebProgress.NOTIFY_ALL);    browser.loadURI(this._params.uri, null, null);      var browserContext = document.getElementById("main-popup");    browserContext.addEventListener("popupshowing", self._popupShowing, false);        var fileMenu = document.getElementById("menu_file");    if (fileMenu)      fileMenu.hidden = true;  },
meta: 2142	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2142/b9877e8f72dc5fc0a5ed452a866464b3fd347f63/webrunner.js/clean/app/chrome/content/webrunner.js