browser.js |
|
0 |
call-parameters.js |
---
es6id: 9.5.4
description: >
Trap is called with handler on its context and target as the first
parameter.
info: |
[[PreventExtensions]] ( )
...
8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)).
...
features: [Proxy]
--- |
757 |
null-handler.js |
---
es6id: 9.5.4
description: >
Throws a TypeError exception if handler is null.
features: [Proxy]
--- |
398 |
return-false.js |
---
es6id: 9.5.4
description: >
If boolean trap result if false, return false.
features: [Proxy, Reflect]
--- |
524 |
return-is-abrupt.js |
---
es6id: 9.5.4
description: >
Trap returns abrupt.
info: |
[[PreventExtensions]] ( )
...
8. Let booleanTrapResult be ToBoolean(Call(trap, handler, «target»)).
9. ReturnIfAbrupt(booleanTrapResult).
...
features: [Proxy]
--- |
591 |
return-true-target-is-extensible.js |
---
es6id: 9.5.4
description: >
Throws a TypeError exception if boolean trap result is true and target is
extensible.
info: |
[[PreventExtensions]] ( )
...
10. If booleanTrapResult is true, then
...
c. If targetIsExtensible is true, throw a TypeError exception.
11. Return booleanTrapResult.
...
features: [Proxy]
--- |
686 |
return-true-target-is-not-extensible.js |
---
es6id: 9.5.4
description: >
Return boolean trap result if its true and target is not extensible.
features: [Proxy, Reflect]
--- |
477 |
shell.js |
|
0 |
trap-is-missing-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-preventextensions
description: >
If "preventExtensions" trap is null or undefined, [[PreventExtensions]] call
is properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[PreventExtensions]] ( )
[...]
4. Let target be O.[[ProxyTarget]].
5. Let trap be ? GetMethod(handler, "preventExtensions").
6. If trap is undefined, then
a. Return ? target.[[PreventExtensions]]().
features: [Proxy]
--- |
864 |
trap-is-not-callable-realm.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-preventextensions
description: >
Throws if trap is not callable (honoring the Realm of the current execution
context)
info: |
[[PreventExtensions]] ( )
...
1. Let handler be the value of the [[ProxyHandler]] internal slot of O.
...
5. Let trap be GetMethod(handler, "preventExtensions").
...
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]
--- |
917 |
trap-is-not-callable.js |
---
es6id: 9.5.4
description: >
Throws a TypeError exception if trap is not callable.
info: |
[[PreventExtensions]] ( )
...
1. Let handler be the value of the [[ProxyHandler]] internal slot of O.
...
5. Let trap be GetMethod(handler, "preventExtensions").
...
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]
--- |
783 |
trap-is-null-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-preventextensions
description: >
If "preventExtensions" trap is null or undefined, [[PreventExtensions]] call
is properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[PreventExtensions]] ( )
[...]
4. Let target be O.[[ProxyTarget]].
5. Let trap be ? GetMethod(handler, "preventExtensions").
6. If trap is undefined, then
a. Return ? target.[[PreventExtensions]]().
features: [Proxy]
--- |
900 |
trap-is-undefined-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-preventextensions
description: >
If "preventExtensions" trap is null or undefined, [[PreventExtensions]] call
is properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[PreventExtensions]] ( )
[...]
4. Let target be O.[[ProxyTarget]].
5. Let trap be ? GetMethod(handler, "preventExtensions").
6. If trap is undefined, then
a. Return ? target.[[PreventExtensions]]().
[[PreventExtensions]] ( )
1. Return true.
features: [Proxy, Reflect]
flags: [module]
--- |
960 |
trap-is-undefined.js |
---
es6id: 9.5.4
description: >
Return target.[[PreventExtensions]]() if target is undefined.
features: [Proxy, Reflect]
--- |
397 |