From 8d587427c024b4014ec296acfece10f21e3057b5 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Thu, 29 Aug 2024 16:21:49 +0200 Subject: [PATCH] rebase + context --- index.bs | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/index.bs b/index.bs index 1e8c343d..45b8a9b9 100644 --- a/index.bs +++ b/index.bs @@ -4373,11 +4373,14 @@ navigated steps given |navigable| and |navigation status|:
         browsingContext.HistoryUpdated = (
-         method: "browsingContext.historyUpdated",
-         params: {
-            url: text,
-         }
+          method: "browsingContext.historyUpdated",
+          params: browsingContext.HistoryUpdatedParameters
         )
+
+        browsingContext.HistoryUpdatedParameters = {
+          context: browsingContext.BrowsingContext,
+          url: text
+        }
       
@@ -4385,9 +4388,13 @@ navigated steps given |navigable| and |navigation status|:
The [=remote end event trigger=] is the WebDriver BiDi history updated steps given |navigable|: +1. Let |params| be a [=/map=] matching the browsingContext.HistoryUpdatedParameters production, + with the url field set to |navigable|'s [=active browsing context=]'s [=active document=]'s URL and + the context field set to |navigable|'s [=navigable id=]. + 1. Let |body| be a [=/map=] matching the - browsingContext.HistoryUpdated production, with the - url field set to |navigable|'s [=active browsing context=]'s [=active document=]'s URL. + browsingContext.HistoryUpdated production, with the + params field set to |params|. 1. Let |related browsing contexts| be a [=/set=] containing |navigable|'s [=active browsing context=].