browser.js |
|
0 |
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»)).
...
features: [Proxy]
--- |
745 |
null-handler.js |
---
es6id: 9.5.3
description: >
Throws a TypeError exception if handler is null
features: [Proxy]
--- |
392 |
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).
...
features: [Proxy]
--- |
576 |
return-is-boolean.js |
---
es6id: 9.5.3
description: >
The trap returns a boolean result.
features: [Proxy]
--- |
560 |
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.
...
features: [Proxy]
--- |
627 |
return-same-result-from-target.js |
---
es6id: 9.5.3
description: >
Return trap result.
features: [Proxy]
--- |
495 |
shell.js |
|
0 |
trap-is-missing-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-isextensible
description: >
If "isExtensible" trap is null or undefined, [[IsExtensible]] call is
properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[IsExtensible]] ( )
[...]
4. Let target be O.[[ProxyTarget]].
5. Let trap be ? GetMethod(handler, "isExtensible").
6. If trap is undefined, then
a. Return ? IsExtensible(target).
IsExtensible ( O )
1. Assert: Type(O) is Object.
2. Return ? O.[[IsExtensible]]().
features: [Proxy]
--- |
899 |
trap-is-not-callable-realm.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-isextensible
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, Proxy]
--- |
892 |
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.
...
features: [Proxy]
--- |
764 |
trap-is-null-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-isextensible
description: >
If "isExtensible" trap is null or undefined, [[IsExtensible]] call is
properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[IsExtensible]] ( )
[...]
4. Let target be O.[[ProxyTarget]].
5. Let trap be ? GetMethod(handler, "isExtensible").
6. If trap is undefined, then
a. Return ? IsExtensible(target).
IsExtensible ( O )
1. Assert: Type(O) is Object.
2. Return ? O.[[IsExtensible]]().
features: [Proxy]
--- |
880 |
trap-is-undefined-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-isextensible
description: >
If "isExtensible" trap is null or undefined, [[IsExtensible]] call is
properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[IsExtensible]] ( )
[...]
4. Let target be O.[[ProxyTarget]].
5. Let trap be ? GetMethod(handler, "isExtensible").
6. If trap is undefined, then
a. Return ? IsExtensible(target).
IsExtensible ( O )
1. Assert: Type(O) is Object.
2. Return ? O.[[IsExtensible]]().
[[IsExtensible]] ( )
[...]
7. Let booleanTrapResult be ! ToBoolean(? Call(trap, handler, « target »)).
[...]
10. Return booleanTrapResult.
features: [Proxy]
--- |
1227 |
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]]().
...
features: [Proxy]
--- |
589 |