tor-browser

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

commit e08316caef6c9d264b2e002c0ee16b30fe7e6256
parent 858c610e9313f0722352ec39c638ec71c4d11fc0
Author: Adam Vandolder <avandolder@mozilla.com>
Date:   Thu, 16 Oct 2025 14:29:21 +0000

Bug 1994556 - Remove redundant null check for navigationAPIStateForFiring. r=dom-core,farre

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

Diffstat:
Mdocshell/base/nsDocShell.cpp | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp @@ -9801,9 +9801,6 @@ nsresult nsDocShell::InternalLoad(nsDocShellLoadState* aLoadState, // Step 21.3 RefPtr<nsIStructuredCloneContainer> navigationAPIStateForFiring = aLoadState->GetNavigationAPIState(); - if (!navigationAPIStateForFiring) { - navigationAPIStateForFiring = nullptr; - } nsCOMPtr<nsIURI> destinationURL = aLoadState->URI(); // Step 21.4