rv = InsertChildAt(content, 0, PR_FALSE);
rv = InsertChildAt(content, 0, PR_FALSE, PR_FALSE);
nsHTMLScriptElement::SetText(const nsAReadableString& aValue){  nsCOMPtr<nsIContent> content;  PRInt32 i, count = 0;  nsresult rv = NS_OK;  ChildCount(count);  if (count) {    for (i = count-1; i > 1; i--) {      RemoveChildAt(i, PR_FALSE);    }    rv = ChildAt(0, *getter_AddRefs(content));    NS_ENSURE_SUCCESS(rv, rv);  } else {    rv = NS_NewTextNode(getter_AddRefs(content));    NS_ENSURE_SUCCESS(rv, rv);    rv = InsertChildAt(content, 0, PR_FALSE);    NS_ENSURE_SUCCESS(rv, rv);  }  if (content) {    nsCOMPtr<nsIDOMNode> node(do_QueryInterface(content));    if (node) {      rv = node->SetNodeValue(aValue);    }  }  return rv;}