rem:  return true; 
context: function onLoadJSConsole() {    try {        var cs_class = Components.classes['@mozilla.org/consoleservice;1'];        var cs_iface = Components.interfaces.nsIConsoleService;        var cs_isupports = cs_class.getService();        var cs = cs_isupports.QueryInterface(cs_iface);    } catch(exn) {        // Couldn't get the console service for some reason...        // pretend it never happened.        appendMessage({ message:                        "Unable to display errors - " +                        "couldn't get Console Service component. " +                        "(Missing @mozilla.org/consoleservice;1)" });        return;    }    var o1 = {}; // Throwaway references to support 'out' parameters.    var o2 = {};    var messages;    cs.getMessageArray(o1, o2);    messages = o1.value;    // In case getMessageArray returns 0-length array as null.    if (messages == null)        messages = [];	var i;	var cleared=0;	//Checks if console ever been cleared    for (i = messages.length-1; i >=0 ; i--) {        	if (messages[i].message == "__CLEAR__") {			cleared = i + 1;			break;		}    }	//Populates tree with error messages after latest "clear"	for(i = cleared; i < messages.length; i++) {        appendMessage(messages[i]);    }    cs.registerListener(consoleListener);    bundle = srGetStrBundle("chrome://global/locale/console.properties");        return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/94b22d63d569b1cb00e402fd0fab4c86e1489366/console.js/buggy/xpfe/components/console/resources/content/console.js