mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 17:03:07 +09:00
Remove harmless assertions by using IgnoredErrorResult.
This commit is contained in:
parent
e3b3cc12d2
commit
d82c60d3d8
2 changed files with 7 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue