Bug 1914321 - Temporarily disable recently-introduced assertion.

See bug 1931301.

MANUAL PUSH: Bustage fix CLOSED TREE.
This commit is contained in:
Emilio Cobos Álvarez
2024-11-14 12:52:25 +01:00
parent 496b9690db
commit cf02793438

View File

@@ -263,8 +263,9 @@ void nsINode::AssertInvariantsOnNodeInfoChange() {
#ifdef DEBUG #ifdef DEBUG
void nsINode::AssertIsRootElementSlow(bool aIsRoot) const { void nsINode::AssertIsRootElementSlow(bool aIsRoot) const {
const bool isRootSlow = this == OwnerDoc()->GetRootElement(); // TODO(bug 1931301): Re-enable this assert.
MOZ_ASSERT(aIsRoot == isRootSlow); // const bool isRootSlow = this == OwnerDoc()->GetRootElement();
// MOZ_ASSERT(aIsRoot == isRootSlow);
} }
#endif #endif