Skip to content

Commit

Permalink
extract script.InternalId Type
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade authored and jgraham committed Nov 7, 2023
1 parent 40f395e commit dbf72c0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6402,6 +6402,19 @@ the ECMAScript runtime. The handle is only valid in a specific [=Realm=].
Each ECMAScript [=Realm=] has a corresponding <dfn>handle object map</dfn>. This is a
strong [=/map=] from handle ids to their corresponding objects.

#### The script.InternalId Type #### {#type-script-InternalId}

[=Remote end definition=] and [=local end definition=]

<pre class="cddl remote-cddl local-cddl">
script.InternalId = text;
</pre>

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


#### The script.LocalValue Type #### {#type-script-LocalValue}

[=Remote end definition=]
Expand Down Expand Up @@ -7149,8 +7162,6 @@ script.RemoteValue = (
script.WindowProxyRemoteValue
)

script.InternalId = text;

script.ListRemoteValue = [*script.RemoteValue];

script.MappingRemoteValue = [*[(script.RemoteValue / text), script.RemoteValue]];
Expand Down

0 comments on commit dbf72c0

Please sign in to comment.