Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Mar 28, 2023
1 parent 24ff247 commit 0613ecb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4203,11 +4203,11 @@ before any author-defined script have run.

TODO: Extend this to scripts in other kinds of realms.

A [=BiDi session=] has a <dfn>preload script map</dfn> which is a [=/map=] in which
the keys are [[!RFC4122|UUID]]s, and the values are [=structs=] with an <a
A [=BiDi session=] has a <dfn>preload script map</dfn> which is a [=/map=] in
which the keys are [[!RFC4122|UUID]]s, and the values are [=structs=] with an <a
for=struct>item</a> named <code>function declaration</code>, which is a string,
<code>arguments</code> which is a list, and an item named <code>sandbox</code>
which is a string or null.
<code>arguments</code>, and an item named <code>sandbox</code> which is a string
or null.

Note: If executing a [=preload script=] fails, either due to a syntax error, or
a runtime exception, an [[ECMAScript]] exception is reported in the realm in
Expand All @@ -4231,8 +4231,6 @@ To <dfn export>run WebDriver BiDi preload scripts</dfn> given |environment setti
|browsing context|. Otherwise let |realm| be |environment settings|'
[=realm execution context=]'s Realm component.

1. Let |options| be the [=default classic script fetch options=].

1. Let |base URL| be the [=API base URL=] of |environment settings|.

1. Let |options| be the [=default classic script fetch options=].
Expand Down

0 comments on commit 0613ecb

Please sign in to comment.