Skip to content

Commit ab6f2d5

Browse files
Ms2gerljharb
authored andcommitted
Editorial: allow hosts to create ordinary global objects (tc39#3498)
There doesn't seem to be a reason for this hook to only allow *exotic* objects.
1 parent 91b7e4c commit ab6f2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11664,7 +11664,7 @@ <h1>InitializeHostDefinedRealm ( ): either a normal completion containing ~unuse
1166411664
1. Set the Realm of _newContext_ to _realm_.
1166511665
1. Set the ScriptOrModule of _newContext_ to *null*.
1166611666
1. Push _newContext_ onto the execution context stack; _newContext_ is now the running execution context.
11667-
1. If the host requires use of an exotic object to serve as _realm_'s global object, then
11667+
1. If the host requires use of a specific object to serve as _realm_'s global object, then
1166811668
1. Let _global_ be such an object created in a host-defined manner.
1166911669
1. Else,
1167011670
1. Let _global_ be OrdinaryObjectCreate(_realm_.[[Intrinsics]].[[%Object.prototype%]]).

0 commit comments

Comments
 (0)