tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c2a7a56a1775e6c9cfd4267cda8870a1fafa5808
parent b25dfe2069dc05bec38a74c06ae7b11c1d125385
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date:   Fri, 17 Oct 2025 09:43:34 +0200

Bug 1994893 - Remove an assert that doesn't hold because resource docs don't have a parent widget.

Diffstat:
Mlayout/base/nsDocumentViewer.cpp | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/layout/base/nsDocumentViewer.cpp b/layout/base/nsDocumentViewer.cpp @@ -2226,7 +2226,6 @@ void nsDocumentViewer::MakeWindow(const nsSize& aSize, nsView* aContainerView) { // Don't create widgets for ResourceDocs (external resources & svg images), // because when they're displayed, they're painted into *another* document's // widget. - MOZ_ASSERT_IF(!aContainerView, mParentWidget); if (!mDocument->IsResourceDoc() && mParentWidget) { // Reuse the top level parent widget. view->AttachToTopLevelWidget(mParentWidget);