@@ -11602,6 +11602,9 @@ with the [{{LegacyNoInterfaceObject}}] [=extended attribute=].
1160211602 to the definitions specified in
1160311603 [=ECMA-262 Immutable prototype exotic objects=].
1160411604 1. Otherwise, set |interfaceProtoObj| to [$OrdinaryObjectCreate$](|proto|).
11605+ 1. If the [{{LegacyNoInterfaceObject}}] [=extended attribute=] was not specified on |interface|, then:
11606+ 1. Let |constructor| be the [=interface object=] of |interface| in |realm|.
11607+ 1. Perform [$CreateMethodProperty$](|interfaceProtoObj|, "<code>constructor</code>", |constructor|).
1160511608 1. If |interface| has any [=member=] declared with the [{{Unscopable}}] [=extended attribute=],
1160611609 then:
1160711610
@@ -11625,12 +11628,6 @@ with the [{{LegacyNoInterfaceObject}}] [=extended attribute=].
1162511628 1. [=Define the asynchronous iteration methods=] of |interface| on |interfaceProtoObj|
1162611629 given |realm|.
1162711630 1. [=Define the constants=] of |interface| on |interfaceProtoObj| given |realm|.
11628- 1. If the [{{LegacyNoInterfaceObject}}] [=extended attribute=] was not specified on |interface|, then:
11629- 1. Let |constructor| be the [=interface object=] of |interface| in |realm|.
11630- 1. Let |desc| be the PropertyDescriptor{\[[Writable]]: <emu-val>true</emu-val>,
11631- \[[Enumerable]]: <emu-val>false</emu-val>, \[[Configurable]]: <emu-val>true</emu-val>,
11632- \[[Value]]: |constructor|}.
11633- 1. Perform [=!=] <a abstract-op>DefinePropertyOrThrow</a>(|interfaceProtoObj|, "<code>constructor</code>", |desc|).
1163411631 1. Return |interfaceProtoObj|.
1163511632</div>
1163611633
0 commit comments