Bug 1380415 part 2. Remove XPCOM constraint validation APIs. r=mccr8

This commit is contained in:
Boris Zbarsky
2017-07-13 23:46:28 -04:00
parent c81a5d320c
commit 7883a597ca
27 changed files with 38 additions and 180 deletions

View File

@@ -128,10 +128,6 @@ HTMLTextAreaElement::Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult,
return NS_OK;
}
// nsIConstraintValidation
NS_IMPL_NSICONSTRAINTVALIDATION_EXCEPT_SETCUSTOMVALIDITY(HTMLTextAreaElement)
NS_IMETHODIMP
HTMLTextAreaElement::GetForm(nsIDOMHTMLFormElement** aForm)
{
@@ -1158,16 +1154,12 @@ HTMLTextAreaElement::IsValueEmpty() const
return value.IsEmpty();
}
// nsIConstraintValidation
NS_IMETHODIMP
void
HTMLTextAreaElement::SetCustomValidity(const nsAString& aError)
{
nsIConstraintValidation::SetCustomValidity(aError);
UpdateState(true);
return NS_OK;
}
bool