Skip to content

Commit

Permalink
Fix incorrect [LenientThis] that should be [LenientSetter] (#272)
Browse files Browse the repository at this point in the history
Closes #271.
  • Loading branch information
domenic authored and bzbarsky committed Jan 20, 2017
1 parent 898b8d2 commit fef2cda
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ ignored or an exception is thrown.
</pre>

Attributes whose type is a [=promise type=] must be [=read only=]. Additionally, they cannot have
any of the [=extended attributes=] [{{LenientThis}}], [{{PutForwards}}], [{{Replaceable}}], or
any of the [=extended attributes=] [{{LenientSetter}}], [{{PutForwards}}], [{{Replaceable}}], or
[{{SameObject}}].

A [=regular attribute=]
Expand Down Expand Up @@ -10565,7 +10565,7 @@ The characteristics of this property are as follows:
[=attribute=] |attribute|, an [=interface=] |target|, and a [=Realm=] |realm|:

1. If |attribute| is [=read only=] and does not have a
[{{LenientThis}}], [{{PutForwards}}] or [{{Replaceable}}] [=extended attribute=], return
[{{LenientSetter}}], [{{PutForwards}}] or [{{Replaceable}}] [=extended attribute=], return
<emu-val>undefined</emu-val>; there is no [=attribute setter=] function.
1. Assert: |attribute|'s type is not a [=promise type=].
1. Let |steps| be the following series of steps:
Expand Down
Loading

0 comments on commit fef2cda

Please sign in to comment.