Skip to content

Commit

Permalink
Introduce "browsingContext.setUserAgent" command
Browse files Browse the repository at this point in the history
Bug: #448
  • Loading branch information
Thiago Perrotta committed Nov 14, 2023
1 parent e0d496b commit ca213b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1880,6 +1880,7 @@ BrowsingContextCommand = (
browsingContext.Navigate //
browsingContext.Print //
browsingContext.Reload //
browsingContext.SetUserAgent //
browsingContext.SetViewport //
browsingContext.TraverseHistory
)
Expand Down Expand Up @@ -6530,7 +6531,7 @@ strong [=/map=] from handle ids to their corresponding objects.
script.InternalId = text;
</pre>

The <code>script.InternalId</code> type represents the id of
The <code>script.InternalId</code> type represents the id of
a previously serialized <code>script.RemoteValue</code> during
[=serialize as a remote value|serialization=].

Expand Down Expand Up @@ -7526,7 +7527,7 @@ To <dfn>set internal ids if needed</dfn> given |serialization internal map|,
1. If |previously serialized remote value| does not have a field
<code>internalId</code>, run the following steps:

1. Let |internal id| be the string representation of a [[!RFC4122|UUID]]
1. Let |internal id| be the string representation of a [[!RFC4122|UUID]]
based on truly random, or pseudo-random numbers.

1. Set the <code>internalId</code> field of
Expand Down

0 comments on commit ca213b6

Please sign in to comment.