| call-parameters.js |
---
es6id: 9.5.3
description: >
The trap is called with handler on its context and the target object as the
first parabeter
info: |
[[IsExtensible]] ( )
...
8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)).
...
--- |
705 |
- |
| null-handler.js |
---
es6id: 9.5.3
description: >
Throws a TypeError exception if handler is null
--- |
352 |
- |
| return-is-abrupt.js |
---
es6id: 9.5.3
description: >
Trap returns abrupt.
info: |
[[IsExtensible]] ( )
...
8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)).
9. ReturnIfAbrupt(booleanTrapResult).
...
--- |
536 |
- |
| return-is-boolean.js |
---
es6id: 9.5.3
description: >
The trap returns a boolean result.
--- |
520 |
- |
| return-is-different-from-target.js |
---
es6id: 9.5.3
description: >
Throws a TypeError exception if boolean trap result is not the same as
target.[[IsExtensible]]() result
info: |
[[IsExtensible]] ( )
...
12. If SameValue(booleanTrapResult, targetResult) is false, throw a
TypeError exception.
...
--- |
587 |
- |
| return-same-result-from-target.js |
---
es6id: 9.5.3
description: >
Return trap result.
--- |
455 |
- |
| trap-is-not-callable-realm.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-isextensible
es6id: 9.5.3
description: >
Throws if trap is not callable (honoring the Realm of the current execution
context)
info: |
[[IsExtensible]] ( )
...
1. Let handler be the value of the [[ProxyHandler]] internal slot of O.
...
5. Let trap be GetMethod(handler, "isExtensible").
...
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]
--- |
876 |
- |
| trap-is-not-callable.js |
---
es6id: 9.5.3
description: >
Throws a TypeError exception if trap is not callable.
info: |
[[IsExtensible]] ( )
...
1. Let handler be the value of the [[ProxyHandler]] internal slot of O.
...
5. Let trap be GetMethod(handler, "isExtensible").
...
7.3.9 GetMethod (O, P)
...
2. Let func be GetV(O, P).
5. If IsCallable(func) is false, throw a TypeError exception.
...
--- |
724 |
- |
| trap-is-undefined.js |
---
es6id: 9.5.3
description: >
Return target.[[IsExtensible]]() if trap is undefined.
info: |
[[IsExtensible]] ( )
...
7. If trap is undefined, then
a. Return target.[[IsExtensible]]().
...
--- |
549 |
- |