import from UXP: Remove harmless assertions by using IgnoredErrorResult. (d82c60d3)

This commit is contained in:
2022-04-01 14:11:52 +08:00
parent f47ea035b7
commit 7386d987d4
2 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ HTMLTableSectionElement::DeleteRow(int32_t aValue, ErrorResult& aError)
refIndex = (uint32_t)aValue;
}
nsINode* row = rows->Item(refIndex);
nsCOMPtr<nsINode> row = rows->Item(refIndex);
if (!row) {
aError.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR);
return;