Name Description Size
browser.js 0
call-parameters.js --- es6id: 9.5.2 description: > Trap is called with handler on its context, first parameter is target and second parameter is the given value. info: | [[SetPrototypeOf]] (V) ... 9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, V»)). ... features: [Proxy] --- 877
internals-call-order.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > Calls target.[[GetPrototypeOf]] after trap result as false and not extensible target info: | [[SetPrototypeOf]] (V) 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, « target, V »)). 9. If booleanTrapResult is false, return false. 10. Let extensibleTarget be ? IsExtensible(target). 11. If extensibleTarget is true, return true. 12. Let targetProto be ? target.[[GetPrototypeOf]](). features: [Proxy, Reflect, Reflect.setPrototypeOf] --- 1490
not-extensible-target-not-same-target-prototype.js --- es6id: 9.5.2 description: > Throws a TypeError exception if boolean trap result is true, target is not extensible, and the given parameter is not the same object as the target prototype. info: | [[SetPrototypeOf]] (V) ... 2. Let handler be the value of the [[ProxyHandler]] internal slot of O. ... 5. Let target be the value of the [[ProxyTarget]] internal slot of O. 6. Let trap be GetMethod(handler, "setPrototypeOf"). ... 9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, V»)). 14. Let targetProto be target.[[GetPrototypeOf]](). 15. ReturnIfAbrupt(targetProto). 16. If booleanTrapResult is true and SameValue(V, targetProto) is false, throw a TypeError exception. ... features: [Proxy, Reflect, Reflect.setPrototypeOf] --- 1599
not-extensible-target-same-target-prototype.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > Handler can only return true for non-extensible targets if the given prototype is the same as target's prototype info: | [[SetPrototypeOf]] (V) 12. Let targetProto be ? target.[[GetPrototypeOf]](). 13. If SameValue(V, targetProto) is false, throw a TypeError exception. 14. Return true. features: [Proxy, Reflect, Reflect.setPrototypeOf] --- 1313
null-handler.js --- es6id: 9.5.2 description: > Throws a TypeError exception if handler is null features: [Proxy] --- 398
return-abrupt-from-get-trap.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-call-thisargument-argumentslist description: > Return abrupt getting handler trap info: | [[SetPrototypeOf]] (V) 6. Let trap be ? GetMethod(handler, "setPrototypeOf"). features: [Proxy] --- 662
return-abrupt-from-isextensible-target.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > Return abrupt from IsExtensible(target) info: | [[SetPrototypeOf]] (V) 10. Let extensibleTarget be ? IsExtensible(target). features: [Proxy] --- 680
return-abrupt-from-target-getprototypeof.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > Return abrupt from target.[[GetPrototypeOf]]() info: | [[SetPrototypeOf]] (V) 12. Let targetProto be ? target.[[GetPrototypeOf]](). features: [Proxy] --- 726
return-abrupt-from-trap.js --- es6id: 9.5.2 description: > Trap returns abrupt. info: | [[SetPrototypeOf]] (V) 9. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target, V»)). 10. ReturnIfAbrupt(booleanTrapResult). features: [Proxy] --- 589
shell.js 0
toboolean-trap-result-false.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > Return false if ToBoolean(trap result) is false, without checking target.[[IsExtensible]] info: | [[SetPrototypeOf]] (V) 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, « target, V »)). 9. If booleanTrapResult is false, return false. 10. Let extensibleTarget be ? IsExtensible(target). 11. If extensibleTarget is true, return true. features: [Proxy, Reflect, Reflect.setPrototypeOf] --- 2037
toboolean-trap-result-true-target-is-extensible.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > Return true if ToBoolean(trap result) is true, and target.[[IsExtensible]] is true info: | [[SetPrototypeOf]] (V) 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, « target, V »)). 9. If booleanTrapResult is false, return false. 10. Let extensibleTarget be ? IsExtensible(target). 11. If extensibleTarget is true, return true. features: [Proxy, Reflect, Reflect.setPrototypeOf, Symbol] --- 2019
trap-is-missing-target-is-proxy.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > If "setPrototypeOf" trap is null or undefined, [[SetPrototypeOf]] call is properly forwarded to [[ProxyTarget]] (which is also a Proxy object). info: | [[SetPrototypeOf]] ( V ) [...] 5. Let target be O.[[ProxyTarget]]. 6. Let trap be ? GetMethod(handler, "setPrototypeOf"). 7. If trap is undefined, then a. Return ? target.[[SetPrototypeOf]](V). [[SetPrototypeOf]] ( V ) [...] 8. Let booleanTrapResult be ! ToBoolean(? Call(trap, handler, « target, V »)). 9. If booleanTrapResult is false, return false. features: [Proxy] --- 1029
trap-is-not-callable-realm.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > Throws if trap is not callable (honoring the Realm of the current execution context) info: | [[SetPrototypeOf]] (V) ... 2. Let handler be the value of the [[ProxyHandler]] internal slot of O. ... 5. Let target be the value of the [[ProxyTarget]] internal slot of O. 6. Let trap be GetMethod(handler, "setPrototypeOf"). ... 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, Proxy] --- 998
trap-is-not-callable.js --- es6id: 9.5.2 description: > Throws a TypeError exception if trap is not callable. info: | [[SetPrototypeOf]] (V) ... 2. Let handler be the value of the [[ProxyHandler]] internal slot of O. ... 5. Let target be the value of the [[ProxyTarget]] internal slot of O. 6. Let trap be GetMethod(handler, "setPrototypeOf"). ... 7.3.9 GetMethod (O, P) ... 2. Let func be GetV(O, P). 5. If IsCallable(func) is false, throw a TypeError exception. ... features: [Proxy, Reflect, Reflect.setPrototypeOf] --- 899
trap-is-null-target-is-proxy.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > If "setPrototypeOf" trap is null or undefined, [[SetPrototypeOf]] call is properly forwarded to [[ProxyTarget]] (which is also a Proxy object). info: | [[SetPrototypeOf]] ( V ) [...] 5. Let target be O.[[ProxyTarget]]. 6. Let trap be ? GetMethod(handler, "setPrototypeOf"). 7. If trap is undefined, then a. Return ? target.[[SetPrototypeOf]](V). OrdinarySetPrototypeOf ( O, V ) [...] 8. Repeat, while done is false, a. If p is null, set done to true. b. Else if SameValue(p, O) is true, return false. [...] features: [Proxy] --- 1238
trap-is-undefined-or-null.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > Return target.[[SetPrototypeOf]] (V) if trap is undefined or null. info: | [[SetPrototypeOf]] (V) 6. Let trap be ? GetMethod(handler, "setPrototypeOf"). 7. If trap is undefined, then a. Return ? target.[[SetPrototypeOf]](V). GetMethod (V, P) 2. Let func be ? GetV(V, P). 3. If func is either undefined or null, return undefined. features: [Proxy] --- 1279
trap-is-undefined-target-is-proxy.js --- esid: sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v description: > If "setPrototypeOf" trap is null or undefined, [[SetPrototypeOf]] call is properly forwarded to [[ProxyTarget]] (which is also a Proxy object). info: | [[SetPrototypeOf]] ( V ) [...] 5. Let target be O.[[ProxyTarget]]. 6. Let trap be ? GetMethod(handler, "setPrototypeOf"). 7. If trap is undefined, then a. Return ? target.[[SetPrototypeOf]](V). OrdinarySetPrototypeOf ( O, V ) [...] 4. Let extensible be O.[[Extensible]]. 5. If extensible is false, return false. features: [Proxy] --- 1138