Name Description Size Coverage
call-parameters.js --- es6id: 9.5.6 description: > Trap is called with handler as context and parameters are target, P, and the descriptor object. info: | [[DefineOwnProperty]] (P, Desc) ... 9. Let descObj be FromPropertyDescriptor(Desc). 10. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, P, descObj»)). ... --- 1218 -
desc-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc es6id: 9.5.6 description: > Property descriptor object is created in the Realm of the current execution context info: | [[DefineOwnProperty]] (P, Desc) ... 8. Let descObj be FromPropertyDescriptor(Desc). 9. Let booleanTrapResult be ToBoolean(? Call(trap, handler, « target, P, descObj »)). ... 6.2.4.4 FromPropertyDescriptor ... 2. Let obj be ObjectCreate(%ObjectPrototype%). ... 11. Return obj. features: [cross-realm] --- 932 -
null-handler-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc es6id: 9.5.6 description: > Throws a TypeError exception if handler is null (honoring the realm of the current execution context). info: | 1. Assert: IsPropertyKey(P) is true. 2. Let handler be O.[[ProxyHandler]]. 3. If handler is null, throw a TypeError exception. features: [cross-realm] --- 711 -
null-handler.js --- es6id: 9.5.6 description: > Throws a TypeError exception if handler is null. --- 414 -
return-boolean-and-define-target.js --- es6id: 9.5.6 description: > If a property has a corresponding target object property then applying the Property Descriptor of the property to the target object using [[DefineOwnProperty]] will not throw an exception. features: [Reflect] includes: [propertyHelper.js] --- 1212 -
return-is-abrupt.js --- es6id: 9.5.6 description: > Trap return is an abrupt. info: | [[DefineOwnProperty]] (P, Desc) ... 10. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, P, descObj»)). 11. ReturnIfAbrupt(booleanTrapResult). ... --- 597 -
targetdesc-configurable-desc-not-configurable-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc es6id: 9.5.6 description: > Throw a TypeError exception if Desc is not configurable and target property descriptor is configurable and trap result is true (honoring the realm of the current execution context). info: | [[DefineOwnProperty]] (P, Desc) ... 20. Else targetDesc is not undefined, b. If settingConfigFalse is true and targetDesc.[[Configurable]] is true, throw a TypeError exception. ... features: [cross-realm] --- 1070 -
targetdesc-configurable-desc-not-configurable.js --- es6id: 9.5.6 description: > Throw a TypeError exception if Desc is not configurable and target property descriptor is configurable and trap result is true. info: | [[DefineOwnProperty]] (P, Desc) ... 20. Else targetDesc is not undefined, b. If settingConfigFalse is true and targetDesc.[[Configurable]] is true, throw a TypeError exception. ... --- 851 -
targetdesc-not-compatible-descriptor-not-configurable-target-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc es6id: 9.5.6 description: > Throw a TypeError exception if Desc and target property descriptor are not compatible and trap result is true. info: | [[DefineOwnProperty]] (P, Desc) ... 20. Else targetDesc is not undefined, a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc , targetDesc) is false, throw a TypeError exception. ... features: [cross-realm] --- 1005 -
targetdesc-not-compatible-descriptor-not-configurable-target.js --- es6id: 9.5.6 description: > Throw a TypeError exception if Desc and target property descriptor are not compatible and trap result is true. info: | [[DefineOwnProperty]] (P, Desc) ... 20. Else targetDesc is not undefined, a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc , targetDesc) is false, throw a TypeError exception. ... --- 844 -
targetdesc-not-compatible-descriptor-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc es6id: 9.5.6 description: > Throw a TypeError exception if Desc and target property descriptor are not compatible and trap result is true (honoring the realm of the current execution context). info: | [[DefineOwnProperty]] (P, Desc) ... 20. Else targetDesc is not undefined, a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc , targetDesc) is false, throw a TypeError exception. ... features: [cross-realm] --- 1016 -
targetdesc-not-compatible-descriptor.js --- es6id: 9.5.6 description: > Throw a TypeError exception if Desc and target property descriptor are not compatible and trap result is true. info: | [[DefineOwnProperty]] (P, Desc) ... 20. Else targetDesc is not undefined, a. If IsCompatiblePropertyDescriptor(extensibleTarget, Desc , targetDesc) is false, throw a TypeError exception. ... --- 797 -
targetdesc-undefined-not-configurable-descriptor-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc es6id: 9.5.6 description: > Throw a TypeError exception if Desc is not configurable and target property descriptor is undefined, and trap result is true (honoring the realm of the current execution context). info: | [[DefineOwnProperty]] (P, Desc) ... 19. If targetDesc is undefined, then ... b. If settingConfigFalse is true, throw a TypeError exception. ... features: [cross-realm] --- 939 -
targetdesc-undefined-not-configurable-descriptor.js --- es6id: 9.5.6 description: > Throw a TypeError exception if Desc is not configurable and target property descriptor is undefined, and trap result is true. info: | [[DefineOwnProperty]] (P, Desc) ... 19. If targetDesc is undefined, then ... b. If settingConfigFalse is true, throw a TypeError exception. ... --- 721 -
targetdesc-undefined-target-is-not-extensible-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc es6id: 9.5.6 description: > Throw a TypeError exception if Desc is not configurable and target is not extensible, and trap result is true (honoring the realm of the current execution context). info: | [[DefineOwnProperty]] (P, Desc) ... 19. If targetDesc is undefined, then a. If extensibleTarget is false, throw a TypeError exception. ... features: [cross-realm] --- 896 -
targetdesc-undefined-target-is-not-extensible.js --- es6id: 9.5.6 description: > Throw a TypeError exception if Desc is not configurable and target is not extensible, and trap result is true. info: | [[DefineOwnProperty]] (P, Desc) ... 19. If targetDesc is undefined, then a. If extensibleTarget is false, throw a TypeError exception. ... --- 701 -
trap-is-not-callable-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc es6id: 9.5.6 description: > Throws if trap is not callable (honoring the Realm of the current execution context) info: | [[DefineOwnProperty]] (P, Desc) ... 6. Let trap be GetMethod(handler, "defineProperty"). ... 7.3.9 GetMethod (O, P) ... 2. Let func be GetV(O, P). 5. If IsCallable(func) is false, throw a TypeError exception. ... features: [cross-realm] --- 848 -
trap-is-not-callable.js --- es6id: 9.5.6 description: > Throw a TypeError exception if trap is not callable. info: | [[DefineOwnProperty]] (P, Desc) ... 6. Let trap be GetMethod(handler, "defineProperty"). ... 7.3.9 GetMethod (O, P) ... 2. Let func be GetV(O, P). 5. If IsCallable(func) is false, throw a TypeError exception. ... --- 682 -
trap-is-undefined.js --- es6id: 9.5.6 description: > Return target.[[DefineOwnProperty]](P, Desc) if trap is undefined. info: | [[DefineOwnProperty]] (P, Desc) ... 8. If trap is undefined, then a. Return target.[[DefineOwnProperty]](P, Desc). ... includes: [propertyHelper.js] --- 988 -
trap-return-is-false.js --- es6id: 9.5.6 description: > Trap returns a boolean. Checking on false values. info: | [[DefineOwnProperty]] (P, Desc) ... 12. If booleanTrapResult is false, return false. ... features: [Reflect] --- 627 -