Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add argument labels when invoking "apply the history step" #10033

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 14 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -100534,8 +100534,9 @@ location.href = '#foo';</code></pre>
data-x="tn-current-session-history-step">current session history step</span>.</p></li>

<li><p>Return the result of <span data-x="apply the history step">applying the history
step</span> <var>step</var> to <var>traversable</var> given false, null, null, null, and
null.</p></li>
step</span> <var>step</var> to <var>traversable</var> given false as <i>checkForCancelation</i>,
null as <i>sourceSnapshotParams</i>, null as <i>initiatorToCheck</i>,
null as <i>userInvolvementForNavigateEvents</i>, and null as <i>navigationType</i>.</p></li>
</ol>

<p>To <dfn>apply the push/replace history step</dfn> given a non-negative integer <var>step</var>
Expand All @@ -100544,8 +100545,10 @@ location.href = '#foo';</code></pre>

<ol>
<li><p>Return the result of <span data-x="apply the history step">applying the history
step</span> <var>step</var> to <var>traversable</var> given false, null, null, null, and
<var>historyHandling</var>.</p></li>
step</span> <var>step</var> to <var>traversable</var> given false as <i>checkForCancelation</i>,
null as <i>sourceSnapshotParams</i>, null as <i>initiatorToCheck</i>,
null as <i>userInvolvementForNavigateEvents</i>, and <var>historyHandling</var> as
<i>navigationType</i>.</p></li>
</ol>

<p class="note"><span>Apply the push/replace history step</span> never passes <span>source
Expand All @@ -100561,8 +100564,10 @@ location.href = '#foo';</code></pre>
data-x="tn-current-session-history-step">current session history step</span>.</p></li>

<li><p>Return the result of <span data-x="apply the history step">applying the history
step</span> <var>step</var> to <var>traversable</var> given true, null, null, null,
and "<code data-x="dom-NavigationType-reload">reload</code>".</p></li>
step</span> <var>step</var> to <var>traversable</var> given true as <i>checkForCancelation</i>,
null as <i>sourceSnapshotParams</i>, null as <i>initiatorToCheck</i>,
null as <i>userInvolvementForNavigateEvents</i>, and
"<code data-x="dom-NavigationType-reload">reload</code>" as <i>navigationType</i>.</p></li>
</ol>

<p class="note"><span>Apply the reload history step</span> never passes <span>source snapshot
Expand All @@ -100577,10 +100582,10 @@ location.href = '#foo';</code></pre>

<ol>
<li><p>Return the result of <span data-x="apply the history step">applying the history
step</span> <var>step</var> to <var>traversable</var> given true,
step</span> <var>step</var> to <var>traversable</var> given true as <i>checkForCancelation</i>,
<var>sourceSnapshotParams</var>, <var>initiatorToCheck</var>,
<var>userInvolvement</var>, and "<code
data-x="dom-NavigationType-traverse">traverse</code>".</p></li>
<var>userInvolvement</var> as <i>userInvolvementForNavigateEvents</i>, and "<code
data-x="dom-NavigationType-traverse">traverse</code>" as <i>navigationType</i>.</p></li>
</ol>

<hr>
Expand Down