add:  if (client.userClose && client.getConnectionCount() == 0) window.close(); 
context: function my_neterror (e){    var msg = (this.connecting) ? "Could not connect to " :        "You are no longer connected to ";    this.display (msg + this.name + " (" +                  e.server.connection.host + ").", "ERROR");    this.connecting = false;    updateTitle();}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/82d8fef298eb04227dd24d89bf83da4c71997df0/handlers.js/clean/xul/content/handlers.js