nsHTMLFormElement::SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, const nsAString& aValue, PRBool aNotify) { if (aName == nsHTMLAtoms::action || aName == nsHTMLAtoms::target) { ForgetCurrentSubmission();
NS_IMETHOD SetAttr(nsINodeInfo* aNodeInfo, const nsAString& aValue, PRBool aNotify) {  return nsGenericHTMLContainerElement::SetAttr(aNodeInfo, aValue, aNotify);
nsHTMLFormElement::SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName,                           const nsAString& aValue, PRBool aNotify){  if (aName == nsHTMLAtoms::action || aName == nsHTMLAtoms::target) {    ForgetCurrentSubmission();  }  return nsGenericHTMLContainerElement::SetAttr(aNameSpaceID, aName,                                                aValue, aNotify);}