Bug 1613431 - Part 3: Handle synced setters return value. r=nika
Depends on D83646 Differential Revision: https://phabricator.services.mozilla.com/D83647
This commit is contained in:
@@ -293,9 +293,9 @@ void nsGenericHTMLFrameElement::AfterMaybeChangeAttr(
|
||||
mFrameLoader ? mFrameLoader->GetExtantBrowsingContext() : nullptr;
|
||||
if (bc) {
|
||||
if (aValue) {
|
||||
bc->SetName(aValue->String());
|
||||
MOZ_ALWAYS_SUCCEEDS(bc->SetName(aValue->String()));
|
||||
} else {
|
||||
bc->SetName(EmptyString());
|
||||
MOZ_ALWAYS_SUCCEEDS(bc->SetName(EmptyString()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user