nsHTMLFormElement::SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, nsIAtom* aPrefix, const nsAString& aValue, PRBool aNotify) { if ((aName == nsHTMLAtoms::action || aName == nsHTMLAtoms::target) && aNameSpaceID == kNameSpaceID_None) { if (mPendingSubmission) {     FlushPendingSubmission(); } ForgetCurrentSubmission();
nsresult SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, const nsAString& aValue, PRBool aNotify) { return SetAttr(aNameSpaceID, aName, nsnull, aValue, aNotify);
nsHTMLFormElement::SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName,                           nsIAtom* aPrefix, const nsAString& aValue,                           PRBool aNotify){  if ((aName == nsHTMLAtoms::action || aName == nsHTMLAtoms::target) &&      aNameSpaceID == kNameSpaceID_None) {    if (mPendingSubmission) {      // aha, there is a pending submission that means we're in      // the script and we need to flush it. let's tell it      // that the event was ignored to force the flush.      // the second argument is not playing a role at all.      FlushPendingSubmission();    }    ForgetCurrentSubmission();  }  return nsGenericHTMLElement::SetAttr(aNameSpaceID, aName, aPrefix, aValue,                                       aNotify);}