rem: debug.print("SessionClass.sync: " + params); 
context:     this.sync = function() {        if (this.syncDisabled) {            debug.print("SessionClass.sync: disabled");            return false;        }        var lastModified = this.history.getLastModified();        debug.print("SessionClass.sync: "                    + lastModified + " ? " + this.lastSync);        if (null != this.lastSync            && lastModified < this.lastSync            && (new Date() - this.lastSync) < (1000                                               * this.autosave.frequency))        {            return;        }        var buffers = encodeURIComponent(this.buffers.toXml());        var history = encodeURIComponent(this.history.toXml());        var tabs = encodeURIComponent(this.tabs.toXml());        var params = ('BUFFERS=' + buffers                      + '&HISTORY=' + history                      + '&TABS=' + tabs);        debug.print("SessionClass.sync: " + params);        var req = new Ajax.Request(syncUrl,            {                method: 'post',                parameters: params,                onFailure: reportError            }                                   );        this.lastSync = new Date();        return true;    }
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/d247a1b6dacb7417d1b16dd5d23f8786e47c143b/session.js/buggy/session.js