From a41f832d1976b51f9a72e291b283358fe8fce0b1 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Thu, 17 Oct 2024 10:21:27 +0900 Subject: [PATCH] Fix incorrect variable reference in "apply the history step" Closes #10703. --- source | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source b/source index 7934d736e89..dce024a305f 100644 --- a/source +++ b/source @@ -102790,6 +102790,9 @@ location.href = '#foo';

In both cases, let afterPotentialUnloads be the following steps:

    +
  1. Let previousEntry be navigable's active session history entry.

  2. +
  3. If changingNavigableContinuation's update-only is false, then activate history entry targetEntry for @@ -102801,7 +102804,7 @@ location.href = '#foo'; changingNavigableContinuation's update-only, scriptHistoryLength, scriptHistoryIndex, navigationType, - entriesForNavigationAPI, and displayedEntry.

  4. + entriesForNavigationAPI, and previousEntry.

  5. If targetEntry's document is equal to displayedDocument, then perform updateDocument.