diff --git a/spec.html b/spec.html index 6fb1dd538a..a2163cab2a 100644 --- a/spec.html +++ b/spec.html @@ -10796,7 +10796,7 @@

GetThisBinding ( ): either a normal completion containing an ECMAScript lang -

GetSuperBase ( ): either a normal completion containing either an Object, *null*, or *undefined*, or a throw completion

+

GetSuperBase ( ): an Object, *null*, or *undefined*

for
a Function Environment Record _envRec_
@@ -10804,8 +10804,8 @@

GetSuperBase ( ): either a normal completion containing either an Object, *n 1. Let _home_ be _envRec_.[[FunctionObject]].[[HomeObject]]. 1. If _home_ is *undefined*, return *undefined*. - 1. Assert: _home_ is an Object. - 1. Return ? _home_.[[GetPrototypeOf]](). + 1. Assert: _home_ is an ordinary object. + 1. Return ! _home_.[[GetPrototypeOf]](). @@ -13718,6 +13718,7 @@

It configures _F_ as a method.

+ 1. Assert: _homeObject_ is an ordinary object. 1. Set _F_.[[HomeObject]] to _homeObject_. 1. Return ~unused~. @@ -19446,7 +19447,7 @@

Runtime Semantics: Evaluation

1. Let _propertyNameValue_ be ? GetValue(_propertyNameReference_). 1. Let _strict_ be IsStrict(this |SuperProperty|). 1. NOTE: In most cases, ToPropertyKey will be performed on _propertyNameValue_ immediately after this step. However, in the case of `super[b] = c`, it will not be performed until after evaluation of `c`. - 1. Return ? MakeSuperPropertyReference(_actualThis_, _propertyNameValue_, _strict_). + 1. Return MakeSuperPropertyReference(_actualThis_, _propertyNameValue_, _strict_). SuperProperty : `super` `.` IdentifierName @@ -19454,7 +19455,7 @@

Runtime Semantics: Evaluation

1. Let _actualThis_ be ? _env_.GetThisBinding(). 1. Let _propertyKey_ be the StringValue of |IdentifierName|. 1. Let _strict_ be IsStrict(this |SuperProperty|). - 1. Return ? MakeSuperPropertyReference(_actualThis_, _propertyKey_, _strict_). + 1. Return MakeSuperPropertyReference(_actualThis_, _propertyKey_, _strict_).
SuperCall : `super` Arguments @@ -19493,14 +19494,14 @@

_actualThis_: an ECMAScript language value, _propertyKey_: an ECMAScript language value, _strict_: a Boolean, - ): either a normal completion containing a Super Reference Record or a throw completion + ): a Super Reference Record

1. Let _env_ be GetThisEnvironment(). 1. Assert: _env_.HasSuperBinding() is *true*. - 1. Let _baseValue_ be ? _env_.GetSuperBase(). + 1. Let _baseValue_ be _env_.GetSuperBase(). 1. Return the Reference Record { [[Base]]: _baseValue_, [[ReferencedName]]: _propertyKey_, [[Strict]]: _strict_, [[ThisValue]]: _actualThis_ }.