Skip to content

Commit

Permalink
rebase + context
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Aug 29, 2024
1 parent abf7a26 commit 8d58742
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4373,21 +4373,28 @@ navigated</dfn> steps given |navigable| and |navigation status|:
<dd>
<pre class="cddl local-cddl">
browsingContext.HistoryUpdated = (
method: "browsingContext.historyUpdated",
params: {
url: text,
}
method: "browsingContext.historyUpdated",
params: browsingContext.HistoryUpdatedParameters
)

browsingContext.HistoryUpdatedParameters = {
context: browsingContext.BrowsingContext,
url: text
}
</pre>
</dd>
</dl>

<div algorithm>
The [=remote end event trigger=] is the <dfn export>WebDriver BiDi history updated</dfn> steps given |navigable|:

1. Let |params| be a [=/map=] matching the <code>browsingContext.HistoryUpdatedParameters</code> production,
with the <code>url</code> field set to |navigable|'s [=active browsing context=]'s [=active document=]'s <a spec=DOM>URL</a> and
the <code>context<code> field set to |navigable|'s [=navigable id=].

1. Let |body| be a [=/map=] matching the
<code>browsingContext.HistoryUpdated</code> production, with the
<code>url</code> field set to |navigable|'s [=active browsing context=]'s [=active document=]'s <a spec=DOM>URL</a>.
<code>browsingContext.HistoryUpdated</code> production, with the
<code>params</code> field set to |params|.

1. Let |related browsing contexts| be a [=/set=] containing |navigable|'s [=active browsing context=].

Expand Down

0 comments on commit 8d58742

Please sign in to comment.