Skip to content

Commit

Permalink
Update browsingContext.traverseHistory
Browse files Browse the repository at this point in the history
Restrict the command only for top-level browsing contexts.
  • Loading branch information
sadym-chromium committed Sep 13, 2024
1 parent 0575bf7 commit 1b632fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4096,6 +4096,9 @@ The [=remote end steps=] with |command parameters| are:
1. Let |navigable| be the result of [=trying=] to [=get a navigable=]
with |command parameters|["<code>context</code>"].

1. If |navigable| is not a [=/top-level traversable=], return [=error=] with
[=error code=] [=invalid argument=].

1. Assert: |navigable| is not null.

1. Let |delta| be |command parameters|["<code>delta</code>"].
Expand Down

0 comments on commit 1b632fb

Please sign in to comment.