rem: if( value = child.getAttribute('value') ) { message[child.nodeName] = value; } else if ( child.firstChild ) { message[child.nodeName] = child.firstChild.nodeValue; } 
add: message[child.nodeName] = child.textContent; 
context: var console_messages = new function(){  var msgs = [];    this.handle = function(message_event)  {    var message = {};    //alert(new XMLSerializer().serializeToString(message_event))    var children = message_event.documentElement.childNodes, child=null, i=0, value = '';    for ( ; child = children[i]; i++)    {      if( value = child.getAttribute('value') )      {        message[child.nodeName] = value;      }      else if ( child.firstChild )      {        message[child.nodeName] = child.firstChild.nodeValue;       }          }    msgs[msgs.length] = message;    views.console.update();  }  this.getMessages = function()  {    return msgs;  }  };
meta: 7593	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7593/5f7ba2088631bb6902c2f5c1f7c4a27b1b59653d/console.js/clean/src/ecma-debugger/console.js