rem: value = "(null)" 
add: value = "(null)"; } else if (aValue === undefined) { value = "(undefined)"; 
context:   addTreeItem: function(aTreeChildren, aName, aValue, aObject)  {    var ti = document.createElement("treeitem");    ti.__JSObject__ = aObject;    ti.__JSValue__ = aValue;        var value;    if (aValue === null) {      value = "(null)"    } else {      try {        value = aValue.toString();        value = value.replace(/\n|\r|\t|\v/g, " ");      } catch (ex) {        value = "";      }    }        ti.setAttribute("typeOf", typeof(aValue));    if (typeof(aValue) == "object" && aValue !== null) {      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 (aValue === null) {      tc.setAttribute("class", "inspector-null-value-treecell");    }    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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d1dd95b6b2e429e1e13ba9a03376314748bf001c/jsObjectViewer.js/buggy/extensions/inspector/resources/content/viewers/jsObject/jsObjectViewer.js