diff --git a/spec.html b/spec.html index fcac57f972..cf0e92addc 100644 --- a/spec.html +++ b/spec.html @@ -6861,7 +6861,7 @@

OrdinaryDefineOwnProperty ( _O_, _P_, _Desc_ )

When the abstract operation OrdinaryDefineOwnProperty is called with Object _O_, property key _P_, and Property Descriptor _Desc_, the following steps are taken:

1. Let _current_ be ? _O_.[[GetOwnProperty]](_P_). - 1. Let _extensible_ be _O_.[[Extensible]]. + 1. Let _extensible_ be ? IsExtensible(_O_). 1. Return ValidateAndApplyPropertyDescriptor(_O_, _P_, _extensible_, _Desc_, _current_). @@ -8488,7 +8488,15 @@

[[GetOwnProperty]] ( _P_ )

[[DefineOwnProperty]] ( _P_, _Desc_ )

When the [[DefineOwnProperty]] internal method of a module namespace exotic object _O_ is called with property key _P_ and Property Descriptor _Desc_, the following steps are taken:

- 1. Return *false*. + 1. If Type(_P_) is Symbol, return OrdinaryDefineOwnProperty(_O_, _P_, _Desc_). + 1. Let _current_ be ? _O_.[[GetOwnProperty]](_P_). + 1. If _current_ is *undefined*, return *false*. + 1. If IsAccessorDescriptor(_Desc_) is *true*, return *false*. + 1. If _Desc_.[[Writable]] is present and has value *false*, return *false*. + 1. If _Desc_.[[Enumerable]] is present and has value *false*, return *false*. + 1. If _Desc_.[[Configurable]] is present and has value *true*, return *false*. + 1. If _Desc_.[[Value]] is present, return SameValue(_Desc_.[[Value]], _current_.[[Value]]). + 1. Return *true*.