tor-browser

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

commit d7fd76263a2439a5d832cbec2880bb394751769e
parent 5f678e051c20d0f719ab659ecfad7365d4a32cab
Author: Timothy Nikkel <tnikkel@gmail.com>
Date:   Thu, 13 Nov 2025 02:22:25 +0000

Bug 1999504. Assert that we only insert scroll frames after the fact if we are not activating all scroll frames. r=hiro,layout-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D272144

Diffstat:
Mlayout/generic/ScrollContainerFrame.cpp | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/layout/generic/ScrollContainerFrame.cpp b/layout/generic/ScrollContainerFrame.cpp @@ -4093,6 +4093,7 @@ void ScrollContainerFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder, #ifndef MOZ_WIDGET_ANDROID gfxCriticalNoteOnce << "inserted scroll frame"; #endif + MOZ_ASSERT(!ShouldActivateAllScrollFrames()); asrSetter.InsertScrollFrame(this); aBuilder->SetDisablePartialUpdates(true); }