rem: var value = prompt("Enter the attribute value:", attr.nodeValue); if (value) { 
add: if (!gPromptService) { gPromptService = XPCU.getService(kPromptServiceCID, "nsIPromptService"); }  var attrValue = { value: attr.nodeValue }; var dummy = { value: false };  var bundle = this.mPanel.panelset.stringBundle; var msg = bundle.getString("enterAttrName.message"); var title = bundle.getString("editAttribute.title");  if (gPromptService.prompt(window, title, msg, attrValue, null, dummy)) { 
context:   promptFor: function()  {    var attr = viewer.selectedAttribute;    if (attr) {      var value = prompt("Enter the attribute value:", attr.nodeValue);      if (value) {        this.subject = viewer.subject;        this.newValue = value;        this.previousValue = attr.nodeValue;        this.subject.setAttribute(attr.nodeName, value);        this.attr = this.subject.getAttributeNode(attr.nodeName);        return false;      }    }    return true;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/aea57c3ed9a7e2e2498e23222a629291054c4255/domNode.js/buggy/extensions/inspector/resources/content/viewers/domNode/domNode.js