rem:  if (gChangeTable[gServerURI] == undefined) { gChangeTable[gServerURI] = {}; gChangeTable[gServerURI][name] = state; } else { if (gChangeTable[gServerURI][name] == undefined) { gChangeTable[gServerURI][name] = state; } else { var oldValue = gChangeTable[gServerURI][name]; if (oldValue != state) { gChangeTable[gServerURI][name] = undefined; } } } 
add: if (gServerURI in gChangeTable) { if (name in gChangeTable[gServerURI]) { var oldValue = gChangeTable[gServerURI][name]; if (oldValue != state) delete gChangeTable[gServerURI][name]; } else { gChangeTable[gServerURI][name] = state; } } else { gChangeTable[gServerURI] = {}; gChangeTable[gServerURI][name] = state; } 
context: function StateChanged(name,state){	//dump("StateChanged(" + name + "," + state + ")\n");	if (gChangeTable[gServerURI] == undefined) {        gChangeTable[gServerURI] = {};		gChangeTable[gServerURI][name] = state;	}	else {        if (gChangeTable[gServerURI][name] == undefined) {            gChangeTable[gServerURI][name] = state;        }        else {		    var oldValue = gChangeTable[gServerURI][name];		    if (oldValue != state) {			    gChangeTable[gServerURI][name] = undefined;		    }        }	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3fe339c38a79ff8de1d1db407d3e3de1d861a779/subscribe.js/buggy/mailnews/base/resources/content/subscribe.js