Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor

MozReview-Commit-ID: GwVDrTLPTOb
This commit is contained in:
Boris Zbarsky
2018-02-01 14:21:14 -05:00
parent 6b0d86d490
commit 3ab7ce89fa
33 changed files with 74 additions and 129 deletions

View File

@@ -789,8 +789,7 @@ nsresult
HTMLTextAreaElement::Reset()
{
nsAutoString resetVal;
IgnoredErrorResult res;
GetDefaultValue(resetVal, res);
GetDefaultValue(resetVal, IgnoreErrors());
SetValueChanged(false);
nsresult rv = SetValueInternal(resetVal,
@@ -891,8 +890,7 @@ HTMLTextAreaElement::RestoreState(nsPresState* aState)
}
if (aState->IsDisabledSet() && !aState->GetDisabled()) {
IgnoredErrorResult rv;
SetDisabled(false, rv);
SetDisabled(false, IgnoreErrors());
}
return false;
@@ -1312,8 +1310,7 @@ HTMLTextAreaElement::GetRows()
NS_IMETHODIMP_(void)
HTMLTextAreaElement::GetDefaultValueFromContent(nsAString& aValue)
{
IgnoredErrorResult rv;
GetDefaultValue(aValue, rv);
GetDefaultValue(aValue, IgnoreErrors());
}
NS_IMETHODIMP_(bool)