rem: if (!("getConnectionCount" in client) || client.getConnectionCount() == 0) { /* if we're not connected to anything, just close the window */ 
add:  if (!("getConnectionCount" in client) || (client.getConnectionCount() == 0)) 
context: function onClose(){    if ("userClose" in client && client.userClose)        return true;    if (!("getConnectionCount" in client) ||        client.getConnectionCount() == 0)    {        /* if we're not connected to anything, just close the window */        return true;    }    /* otherwise, try to close out gracefully */    client.wantToQuit();    return false;}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/eed42c21649a2218bd5e62fc1faec2149b332895/handlers.js/buggy/xul/content/handlers.js