context: function ldb_erase(ldb){	var attrs = new Array("dn");	/* delete the specials */	ldb.del("@INDEXLIST");	ldb.del("@ATTRIBUTES");	ldb.del("@SUBCLASSES");	ldb.del("@MODULES");	ldb.del("@PARTITION");	ldb.del("@KLUDGEACL");	/* and the rest */     	var basedn = "";     	var res = ldb.search("(&(|(objectclass=*)(dn=*))(!(dn=@BASEINFO)))", basedn, ldb.SCOPE_SUBTREE, attrs);	var i;	if (typeof(res) == "undefined") {		ldb_delete(ldb);		return;	}	for (i=0;i<res.length;i++) {		ldb.del(res[i].dn);	}     	var res = ldb.search("(&(|(objectclass=*)(dn=*))(!(dn=@BASEINFO)))", basedn, ldb.SCOPE_SUBTREE, attrs);	if (res.length != 0) {		ldb_delete(ldb);		return;	}	assert(res.length == 0);}
meta: 1914	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1914/151e30e18aea131291bc53f167378192165bb89c/provision.js/buggy/source4/scripting/libjs/provision.js