commit b6acd9bb9e714c02cf7fec8c68f44053eb301bd0
parent b03115e1a30178ce4484d3227798cc48dea8d397
Author: Adam Vandolder <avandolder@mozilla.com>
Date: Tue, 14 Oct 2025 14:21:10 +0000
Bug 1966674 - Part 4: Add NavigationAPIState to the new NavigationDestination when firing a push/replace/reload navigate event. r=dom-core,jjaschke
Differential Revision: https://phabricator.services.mozilla.com/D268075
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dom/navigation/Navigation.cpp b/dom/navigation/Navigation.cpp
@@ -970,7 +970,7 @@ bool Navigation::FirePushReplaceReloadNavigateEvent(
RefPtr<NavigationDestination> destination =
MakeAndAddRef<NavigationDestination>(GetOwnerGlobal(), aDestinationURL,
/* aEntry */ nullptr,
- /* aState */ nullptr,
+ /* aState */ aNavigationAPIState,
aIsSameDocument);
// Step 8