NS_ASSERTION(aType, "aType must not be null!"); *aType = mType;
nsresult rv = GetAttr(kNameSpaceID_HTML, nsHTMLAtoms::type, aValue);  if (rv == NS_CONTENT_ATTR_NOT_THERE) aValue.Assign(NS_LITERAL_STRING("text"));
nsHTMLInputElement::GetType(PRInt32* aType){  NS_ASSERTION(aType, "aType must not be null!");  *aType = mType;  return NS_OK;}