Bug 1875466 - Remove nsContentUtils::ShouldHideObjectOrEmbedImageDocument. r=emilio
Depends on D199114 Differential Revision: https://phabricator.services.mozilla.com/D199115
This commit is contained in:
@@ -773,8 +773,7 @@ void BrowsingContext::SetEmbedderElement(Element* aEmbedder) {
|
||||
"browsing-context-did-set-embedder", nullptr);
|
||||
}
|
||||
|
||||
if (nsContentUtils::ShouldHideObjectOrEmbedImageDocument() &&
|
||||
IsEmbedderTypeObjectOrEmbed()) {
|
||||
if (IsEmbedderTypeObjectOrEmbed()) {
|
||||
Unused << SetSyntheticDocumentContainer(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user