Skip to content

Commit c95e382

Browse files
committed
Assertions for output of constructor description.
Fixes #206.
1 parent f6d3c49 commit c95e382

File tree

2 files changed

+31
-35
lines changed

2 files changed

+31
-35
lines changed

index.bs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10316,14 +10316,11 @@ and |newTarget| as the NewTarget value, the following steps must be taken:
1031610316
[=overload resolution algorithm=].
1031710317
1. Let |R| be the result of performing the actions listed in the description of
1031810318
|constructor| with |values| as the argument values.
10319+
1. Assert: |R| is an object that implements |I|.
10320+
1. Assert: |R|.\[[Realm]] is equal to |F|.\[[Realm]].
1031910321
1. Return the result of [=converted to an ECMAScript value|converting=]
1032010322
|R| to an ECMAScript [=interface type=] value |I|.
1032110323

10322-
If evaluating the [=function object=] |F| returns normally,
10323-
then it must return an object that implements interface |I|.
10324-
This object also must be
10325-
associated with the ECMAScript global environment associated
10326-
with |I|.
1032710324

1032810325
<div algorithm="determine value of length property of non-callback interfaces">
1032910326

0 commit comments

Comments
 (0)