Skip to content

Commit

Permalink
Add missing arguments to HostInitializeShadowRealm (#410)
Browse files Browse the repository at this point in the history
These are necessary for the integration on the HTML side.
  • Loading branch information
Ms2ger authored Nov 14, 2024
1 parent 7038406 commit f20d027
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ <h1>ShadowRealm ( )</h1>
1. Remove _innerContext_ from the execution context stack and restore _callerContext_ as the running execution context.
1. Let _realmRec_ be the Realm of _innerContext_.
1. Set _O_.[[ShadowRealm]] to _realmRec_.
1. Perform ? HostInitializeShadowRealm(_realmRec_).
1. Perform ? HostInitializeShadowRealm(_realmRec_, _innerContext_, _O_).
1. Return _O_.
</emu-alg>
</emu-clause>
Expand Down Expand Up @@ -599,6 +599,8 @@ <h1>Host operations</h1>
<h1>
HostInitializeShadowRealm (
_realm_: a Realm Record,
_context_: an execution context,
_O_: a ShadowRealm object,
): either a normal completion containing ~unused~ or a throw completion
</h1>
<dl class="header">
Expand Down

0 comments on commit f20d027

Please sign in to comment.