return result;
return rv;
nsHTMLSelectElement::SetValue(const nsAReadableString& aValue){  nsresult result = NS_OK;  nsCOMPtr<nsIDOMHTMLCollection> options;    result = GetOptions(getter_AddRefs(options));  if (NS_SUCCEEDED(result)) {    PRUint32 i, length;    options->GetLength(&length);    for(i = 0; i < length; i++) {      nsCOMPtr<nsIDOMNode> node;      result = options->Item(i, getter_AddRefs(node));      if (NS_SUCCEEDED(result) && node) {        nsCOMPtr<nsIDOMHTMLOptionElement> option = do_QueryInterface(node);        if (option) {          nsAutoString optionVal;          option->GetValue(optionVal);          if (optionVal.Equals(aValue)) {            SetSelectedIndex((PRInt32)i);            break;          }        }      }    }  }      return result;}