rem: var value = aValue.toString(); value = value.replace(/\n|\r|\t/, " "); 
add: var value; if (aValue === null) { value = "(null)" } else { try { value = aValue.toString(); value = value.replace(/\n|\r|\t|\v/g, " "); } catch (ex) { value = ""; } } 
context:   addTreeItem: function(aTreeChildren, aName, aValue, aObject)  {    var ti = document.createElement("treeitem");    ti.__JSObject__ = aObject;    ti.__JSValue__ = aValue;        var value = aValue.toString();    value = value.replace(/\n|\r|\t/, " ");        ti.setAttribute("typeOf", typeof(aValue));    if (typeof(aValue) == "object") {      ti.setAttribute("container", "true");    } else if (typeof(aValue) == "string")      value = "\"" + value + "\"";        var tr = document.createElement("treerow");    ti.appendChild(tr);        var tc = document.createElement("treecell");    tc.setAttribute("label", aName);    tr.appendChild(tc);    tc = document.createElement("treecell");    tc.setAttribute("label", value);    if (aName == "nodeType")      tc.setAttribute("tooltiptext", nodeTypeToText(aValue));    tr.appendChild(tc);        aTreeChildren.appendChild(ti);    // listen for changes to open attribute    this.mTreeKids.addEventListener("DOMAttrModified", onTreeItemAttrModified, false);        return ti;  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/76afbbd30852ffebe3c9525b9a1fe4fa46c44e42/jsObject.js/clean/extensions/inspector/resources/content/viewers/jsObject/jsObject.js