if (NS_SUCCEEDED(rv)) {  rv = SetSelected(aDefaultSelected); }
nsHTMLOptionElement::SetDefaultSelected(PRBool aDefaultSelected){  nsHTMLValue empty(eHTMLUnit_Empty);  nsresult rv = NS_OK;  if (aDefaultSelected) {    rv = SetHTMLAttribute(nsHTMLAtoms::selected, empty, PR_TRUE);  } else {    rv = UnsetAttr(kNameSpaceID_HTML, nsHTMLAtoms::selected, PR_TRUE);  }  if (NS_SUCCEEDED(rv)) {    // When setting DefaultSelected, we must also reset Selected (DOM Errata)    rv = SetSelected(aDefaultSelected);  }  return rv;}