rem: getTargetsBoundCallback.prototype.callerObject = null; getTargetsBoundCallback.prototype.outer = {}; 
add: getTargetsBoundCallback.prototype.QueryInterface = function(iid) { if (!iid.equals(Components.interfaces.nsISupports) && !iid.equals(Components.interfaces.nsILDAPMessageListener)) throw Components.results.NS_ERROR_NO_INTERFACE;  return this; } 
context:         function generateGetTargetsBoundCallback(callerObject, outer) {            function getTargetsBoundCallback(callerObject, outer) {                this.callerObject = callerObject;                this.outer = outer;            }            getTargetsBoundCallback.prototype.callerObject = null;            getTargetsBoundCallback.prototype.outer = {};            getTargetsBoundCallback.prototype.onLDAPMessage =                 function(aMessage) {                    if (DEBUG) {                        dump("boundCallback() called with scope: \n\t" +                        this.outer.Value + "\n\n");                    }                    // XXX how do we deal with this in release builds?                    // XXX deal with already bound case                    //                    if (aMessage.type != aMessage.RES_BIND) {                        dump("bind failed\n");                    }                    // kick off a search                    //                    var searchOp = Components.classes[                            "@mozilla.org/network/ldap-operation;1"].                            createInstance(Components.interfaces.                            nsILDAPOperation);                    // XXX err handling                    searchOp.init(connection,                            generateGetTargetsSearchCallback(this.callerObject,                                                             this.outer));                    // XXX err handling (also for url. accessors)                    // XXX constipate this                    // XXX real timeout                    searchOp.searchExt(url.dn, url.scope, url.filter, 0, -1);                }            return new getTargetsBoundCallback(callerObject, outer);        }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c2e9958440706d6cbfeffed73b63b174bde7b26e/nsLDAPDataSource.js/buggy/directory/xpcom/datasource/nsLDAPDataSource.js