Skip to content

Commit

Permalink
[PreloadScripts] Block empty contexts list
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Oct 24, 2023
1 parent 6b2b25c commit a1b2e08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7633,6 +7633,10 @@ The [=remote end steps=] given |session| and |command parameters| are:

1. If |contexts| is not null:

1. If |contexts| is an empty [=/list=]:

1. Return an [=error=] with [=error code=] [=invalid argument=].

1. For each |context id| of |contexts|:

1. Let |context| be the result of [=trying=] to [=get a browsing context=] with |context id|.
Expand Down

0 comments on commit a1b2e08

Please sign in to comment.