Name Description Size Coverage
arguments-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget es6id: 9.5.14 description: > Arguments array is created in the Realm of the current execution context info: | [...] 7. Let argArray be CreateArrayFromList(argumentsList). 8. Let newObj be ? Call(trap, handler, « target, argArray, newTarget »). [...] features: [cross-realm] --- 700 -
call-parameters-new-target.js --- es6id: 9.5.14 esid: sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget description: > trap is called with handler object as its context, and parameters are: target, an array list with the called arguments and the NewTarget info: | [[Construct]] (argumentsList, newTarget) 9. Let newObj be Call(trap, handler, «target, argArray, newTarget»). features: [Reflect.construct] --- 1373 -
call-parameters.js --- es6id: 9.5.14 description: > trap is called with handler object as its context, and parameters are: target, an array list with the called arguments and the new target, and the constructor new.target. info: | [[Construct]] ( argumentsList, newTarget) 9. Let newObj be Call(trap, handler, «target, argArray, newTarget »). --- 1231 -
call-result.js --- es6id: 9.5.14 description: > Return the result from the trap method. info: | [[Construct]] ( argumentsList, newTarget) 12. Return newObj --- 519 -
null-handler.js --- es6id: 9.5.14 description: > [[Construct]] ( argumentsList, newTarget) 2. If handler is null, throw a TypeError exception. --- 401 -
return-is-abrupt.js --- es6id: 9.5.14 description: > Return abrupt from constructor call. info: | [[Construct]] ( argumentsList, newTarget) 9. Let newObj be Call(trap, handler, «target, argArray, newTarget »). 10. ReturnIfAbrupt(newObj). --- 554 -
return-not-object-throws-boolean.js --- es6id: 9.5.14 description: > Throws a TypeError if trap result is not an Object: Boolean info: | [[Construct]] ( argumentsList, newTarget) 11. If Type(newObj) is not Object, throw a TypeError exception. --- 545 -
return-not-object-throws-number.js --- es6id: 9.5.14 description: > Throws a TypeError if trap result is not an Object: Number info: | [[Construct]] ( argumentsList, newTarget) 11. If Type(newObj) is not Object, throw a TypeError exception. --- 541 -
return-not-object-throws-string.js --- es6id: 9.5.14 description: > Throws a TypeError if trap result is not an Object: String info: | [[Construct]] ( argumentsList, newTarget) 11. If Type(newObj) is not Object, throw a TypeError exception. --- 542 -
return-not-object-throws-symbol.js --- es6id: 9.5.14 description: > Throws a TypeError if trap result is not an Object: Symbol info: | [[Construct]] ( argumentsList, newTarget) 11. If Type(newObj) is not Object, throw a TypeError exception. features: [Symbol] --- 567 -
return-not-object-throws-undefined.js --- es6id: 9.5.14 description: > Throws a TypeError if trap result is not an Object: undefined info: | [[Construct]] ( argumentsList, newTarget) 11. If Type(newObj) is not Object, throw a TypeError exception. --- 552 -
trap-is-not-callable-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget es6id: 9.5.14 description: > Throws if trap is not callable (honoring the Realm of the current execution context) features: [cross-realm] --- 542 -
trap-is-not-callable.js --- es6id: 9.5.14 description: > Throws if trap is not callable. --- 339 -
trap-is-null.js --- es6id: 9.5.14 esid: sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget description: > If the construct trap value is null, propagate the construct to the target object. info: | [[Construct]] (argumentsList, newTarget) ... 5. Let trap be ? GetMethod(handler, "construct"). 6. If trap is undefined, then a. Assert: target has a [[Construct]] internal method. b. Return ? Construct(target, argumentsList, newTarget). ... GetMethod ( V, P ) ... 3. If func is either undefined or null, return undefined. ... features: [Reflect.construct] --- 1146 -
trap-is-undefined-no-property.js --- es6id: 9.5.14 esid: sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget description: > If the construct trap is not set, propagate the construct to the target object. info: | [[Construct]] (argumentsList, newTarget) 7. If trap is undefined, then b. Return Construct(target, argumentsList, newTarget). features: [Reflect.construct] --- 890 -
trap-is-undefined-proto-from-ctor-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget es6id: 9.5.14 description: > If trap is undefined, propagate the construct to the target object, honoring the Realm of the newTarget value info: | [[Construct]] ( argumentsList, newTarget) 7. If trap is undefined, then b. Return Construct(target, argumentsList, newTarget). 9.1.14 GetPrototypeFromConstructor [...] 3. Let proto be ? Get(constructor, "prototype"). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Let proto be realm's intrinsic object named intrinsicDefaultProto. [...] features: [cross-realm, Reflect.construct] --- 1113 -
trap-is-undefined.js --- es6id: 9.5.14 esid: sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget description: > If the construct trap value is undefined, propagate the construct to the target object. info: | [[Construct]] (argumentsList, newTarget) ... 5. Let trap be ? GetMethod(handler, "construct"). 6. If trap is undefined, then a. Assert: target has a [[Construct]] internal method. b. Return ? Construct(target, argumentsList, newTarget). ... GetMethod ( V, P ) ... 3. If func is either undefined or null, return undefined. ... features: [Reflect.construct] --- 1161 -