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:
@@ -187,8 +187,8 @@ nsresult HTMLIFrameElement::AfterSetAttr(int32_t aNameSpaceID, nsAtom* aName,
|
||||
aName == nsGkAtoms::mozallowfullscreen) {
|
||||
if (mFrameLoader) {
|
||||
if (auto* bc = mFrameLoader->GetExtantBrowsingContext()) {
|
||||
// This can go away once we remove the featurePolicy pref.
|
||||
bc->SetFullscreenAllowedByOwner(AllowFullscreen());
|
||||
MOZ_ALWAYS_SUCCEEDS(
|
||||
bc->SetFullscreenAllowedByOwner(AllowFullscreen()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user