rem: this.newNamespaceURI      = out.namespaceURI; 
add: this.newNamespaceURI      = out.namespaceURI || null; 
context:   promptFor: function()  {    var attr = viewer.selectedAttribute.node;    if (attr) {      var bundle = viewer.pane.panelset.stringBundle;      var title = bundle.getString("editAttribute.title");      var doc = attr.ownerDocument;      var out = {        name: attr.nodeName,        value: attr.nodeValue,        namespaceURI: attr.namespaceURI,        accepted: false      };      window.openDialog("chrome://inspector/content/viewers/domNode/domNodeDialog.xul",                        "edit", "chrome,modal,centerscreen", out, title, doc);      if (out.accepted) {        this.subject              = viewer.subject;        this.newValue             = out.value;        this.newNamespaceURI      = out.namespaceURI;        this.previousValue        = attr.nodeValue;        this.previousNamespaceURI = attr.namespaceURI;        if (this.previousNamespaceURI == this.newNamespaceURI) {          this.subject.setAttributeNS(this.previousNamespaceURI,                                      attr.nodeName,                                      out.value);        } else {          this.subject.removeAttributeNS(this.previousNamespaceURI,                                         attr.localName);          this.subject.setAttributeNS(out.namespaceURI,                                      attr.nodeName,                                      out.value);        }        this.attr = this.subject.getAttributeNode(attr.nodeName);        return false;      }    }    return true;  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/554bebcdf035399f058bcf9be54ede5e8e898485/domNode.js/buggy/extensions/inspector/resources/content/viewers/domNode/domNode.js