rem: reconnect = true; 
context: function my_netdisconnect (e){    var msg;    var reconnect = false;    if (typeof e.disconnectStatus != "undefined")    {        switch (e.disconnectStatus)        {            case 0:                msg = getMsg(MSG_CONNECTION_CLOSED,                             [this.getURL(), e.server.getURL()]);                break;            case NS_ERROR_CONNECTION_REFUSED:                msg = getMsg(MSG_CONNECTION_REFUSED,                             [this.getURL(), e.server.getURL()]);                break;            case NS_ERROR_NET_TIMEOUT:                msg = getMsg(MSG_CONNECTION_TIMEOUT,                             [this.getURL(), e.server.getURL()]);                break;            case NS_ERROR_NET_RESET:                msg = getMsg(MSG_CONNECTION_RESET,                             [this.getURL(), e.server.getURL()]);                break;            case NS_ERROR_UNKNOWN_HOST:                msg = getMsg(MSG_UNKNOWN_HOST,                             [e.server.hostname, this.getURL(),                              e.server.getURL()]);                break;            default:                msg = getMsg(MSG_CLOSE_STATUS,                             [this.getURL(), e.server.getURL(),                              e.disconnectStatus]);                reconnect = true;                break;        }    }    else    {        msg = getMsg(MSG_CONNECTION_CLOSED,                     [this.getURL(), e.server.getURL()]);    }    /* If we were only /trying/ to connect, and failed, just put an error on     * the network tab. If we were actually connected ok, put it on all tabs.     */    if (this.connecting)    {        this.busy = false;        updateProgress();        this.displayHere(msg, "ERROR");    }    else    {        for (var v in client.viewsArray)        {            var obj = client.viewsArray[v].source;            if (obj != client)            {                var details = getObjectDetails(obj);                if ("server" in details && details.server == e.server)                    obj.displayHere(msg, "ERROR");            }        }    }    for (var c in this.primServ.channels)    {        var channel = this.primServ.channels[c];        client.rdf.clearTargets(channel.getGraphResource(),                                client.rdf.resChanUser);    }    dispatch("sync-header");    updateTitle();    updateProgress();    if ("userClose" in client && client.userClose &&        client.getConnectionCount() == 0)        window.close();}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/ab48ce76c6159c3706e3dd7176d27ad5f0b9205f/handlers.js/buggy/xul/content/handlers.js