Bug 1380415 part 2. Remove XPCOM constraint validation APIs. r=mccr8
This commit is contained in:
@@ -1277,9 +1277,6 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLInputElement)
|
||||
nsIConstraintValidation)
|
||||
NS_INTERFACE_TABLE_TAIL_INHERITING(nsGenericHTMLFormElementWithState)
|
||||
|
||||
// nsIConstraintValidation
|
||||
NS_IMPL_NSICONSTRAINTVALIDATION_EXCEPT_SETCUSTOMVALIDITY(HTMLInputElement)
|
||||
|
||||
// nsIDOMNode
|
||||
|
||||
nsresult
|
||||
@@ -7123,14 +7120,12 @@ HTMLInputElement::GetStep() const
|
||||
|
||||
// nsIConstraintValidation
|
||||
|
||||
NS_IMETHODIMP
|
||||
void
|
||||
HTMLInputElement::SetCustomValidity(const nsAString& aError)
|
||||
{
|
||||
nsIConstraintValidation::SetCustomValidity(aError);
|
||||
|
||||
UpdateState(true);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
bool
|
||||
@@ -7336,13 +7331,6 @@ HTMLInputElement::UpdateBarredFromConstraintValidation()
|
||||
IsDisabled());
|
||||
}
|
||||
|
||||
void
|
||||
HTMLInputElement::GetValidationMessage(nsAString& aValidationMessage,
|
||||
ErrorResult& aRv)
|
||||
{
|
||||
aRv = GetValidationMessage(aValidationMessage);
|
||||
}
|
||||
|
||||
nsresult
|
||||
HTMLInputElement::GetValidationMessage(nsAString& aValidationMessage,
|
||||
ValidityStateType aType)
|
||||
|
||||
Reference in New Issue
Block a user