rem: var bundle = viewer.pane.panelset.stringBundle; var msg = bundle.getString("enterAttrValue.message"); var title = bundle.getString("editAttribute.title");  if (gPromptService.prompt(window, title, msg, attrValue, null, dummy)) { this.subject = viewer.subject; this.newValue = attrValue.value; this.previousValue = attr.nodeValue; this.subject.setAttribute(attr.nodeName, attrValue.value); 
add: 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); } 
context:   promptFor: function()  {    var attr = viewer.selectedAttribute.node;    if (attr) {      if (!gPromptService) {        gPromptService = XPCU.getService(kPromptServiceCID, "nsIPromptService");      }      var attrValue = { value: attr.nodeValue };      var dummy = { value: false };      var bundle = viewer.pane.panelset.stringBundle;      var msg = bundle.getString("enterAttrValue.message");      var title = bundle.getString("editAttribute.title");      if (gPromptService.prompt(window, title, msg, attrValue, null, dummy)) {        this.subject = viewer.subject;        this.newValue = attrValue.value;        this.previousValue = attr.nodeValue;        this.subject.setAttribute(attr.nodeName, attrValue.value);        this.attr = this.subject.getAttributeNode(attr.nodeName);        return false;      }    }    return true;  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e79ffa817f227d904b92ca3690ebfcd0cf95ac53/domNode.js/clean/extensions/inspector/resources/content/viewers/domNode/domNode.js