browser.js |
|
0 |
call-parameters.js |
---
es6id: 9.5.5
description: >
Trap is called with hander context and parameters are target and P
info: |
[[GetOwnProperty]] (P)
...
9. Let trapResultObj be Call(trap, handler, «target, P»).
...
features: [Proxy]
--- |
832 |
null-handler.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if handler is null.
features: [Proxy]
--- |
405 |
result-is-undefined-target-is-not-extensible.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if trap result is undefined and target is not
extensible
info: |
[[GetOwnProperty]] (P)
...
14. If trapResultObj is undefined, then
...
e. If ToBoolean(extensibleTarget) is false, throw a TypeError exception.
...
features: [Proxy]
--- |
749 |
result-is-undefined-targetdesc-is-not-configurable.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if trap result is undefined and target property
descriptor is not configurable
info: |
[[GetOwnProperty]] (P)
...
14. If trapResultObj is undefined, then
...
b. If targetDesc.[[Configurable]] is false, throw a TypeError exception.
...
features: [Proxy]
--- |
824 |
result-is-undefined-targetdesc-is-undefined.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if trap result is undefined and target property
descriptor is undefined.
info: |
[[GetOwnProperty]] (P)
...
14. If trapResultObj is undefined, then
a. If targetDesc is undefined, return undefined.
...
features: [Proxy]
--- |
721 |
result-is-undefined.js |
---
es6id: 9.5.5
description: >
Return undefined if trap result is undefined and target is extensible and
the target property descriptor is configurable.
info: |
[[GetOwnProperty]] (P)
...
14. If trapResultObj is undefined, then
...
f. Return undefined.
...
features: [Proxy]
--- |
685 |
result-type-is-not-object-nor-undefined-realm.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-getownproperty-p
description: >
Error when trap result is neither Object nor undefined (honoring the Realm of
the current execution context)
info: |
[...]
9. If Type(trapResultObj) is neither Object nor Undefined, throw a TypeError
exception.
features: [cross-realm, Proxy]
--- |
743 |
result-type-is-not-object-nor-undefined.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if trap result is neither Object nor Undefined
info: |
[[GetOwnProperty]] (P)
...
11. If Type(trapResultObj) is neither Object nor Undefined, throw a
TypeError exception.
...
features: [Proxy, Symbol]
--- |
1006 |
resultdesc-is-invalid-descriptor.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if trap result and target property descriptors
are not compatible.
info: |
[[GetOwnProperty]] (P)
...
20. Let valid be IsCompatiblePropertyDescriptor (extensibleTarget,
resultDesc, targetDesc).
21. If valid is false, throw a TypeError exception.
features: [Proxy]
--- |
841 |
resultdesc-is-not-configurable-not-writable-targetdesc-is-writable.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-getownproperty-p
description: >
Throws a TypeError exception if resultDesc is both non-configurable and
non-writable, while targetDesc is writable.
info: |
[[GetOwnProperty]] (P)
...
17. If resultDesc.[[Configurable]] is false, then
...
b. If resultDesc has a [[Writable]] field and resultDesc.[[Writable]] is
false, then
i. If targetDesc.[[Writable]] is true, throw a TypeError exception.
...
features: [Proxy, proxy-missing-checks]
--- |
1123 |
resultdesc-is-not-configurable-targetdesc-is-configurable.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if trap result is not configurable but target
property descriptor is configurable.
info: |
[[GetOwnProperty]] (P)
...
22. If resultDesc.[[Configurable]] is false, then
a. If targetDesc is undefined or targetDesc.[[Configurable]] is true,
then
i. Throw a TypeError exception.
...
features: [Proxy]
--- |
969 |
resultdesc-is-not-configurable-targetdesc-is-undefined.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if trap result is not configurable but target
property descriptor is undefined.
info: |
[[GetOwnProperty]] (P)
...
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, "getOwnPropertyDescriptor").
...
9. Let trapResultObj be Call(trap, handler, «target, P»).
...
12. Let targetDesc be target.[[GetOwnProperty]](P).
...
17. Let resultDesc be ToPropertyDescriptor(trapResultObj).
...
22. If resultDesc.[[Configurable]] is false, then
a. If targetDesc is undefined or targetDesc.[[Configurable]] is true, then
i. Throw a TypeError exception.
features: [Proxy]
--- |
1381 |
resultdesc-return-configurable.js |
---
es6id: 9.5.5
description: >
Return descriptor from trap result if it has the same value as the target
property descriptor.
features: [Proxy]
--- |
809 |
resultdesc-return-not-configurable.js |
---
es6id: 9.5.5
description: >
Return descriptor from trap result if it has the same value as the target
property descriptor and they're not configurable.
features: [Proxy]
--- |
829 |
return-is-abrupt.js |
---
es6id: 9.5.5
description: >
Trap returns abrupt.
info: |
[[GetOwnProperty]] (P)
...
9. Let trapResultObj be Call(trap, handler, «target, P»).
10. ReturnIfAbrupt(trapResultObj).
...
features: [Proxy]
--- |
601 |
shell.js |
|
0 |
trap-is-missing-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-getownproperty-p
description: >
If "getOwnPropertyDescriptor" trap is null or undefined, [[GetOwnProperty]]
call is properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[GetOwnProperty]] ( P )
[...]
5. Let target be O.[[ProxyTarget]].
6. Let trap be ? GetMethod(handler, "getOwnPropertyDescriptor").
7. If trap is undefined, then
a. Return ? target.[[GetOwnProperty]](P).
includes: [propertyHelper.js]
features: [Proxy]
--- |
1242 |
trap-is-not-callable-realm.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-getownproperty-p
description: >
Throws if trap is not callable (honoring the Realm of the current execution
context)
info: |
[[GetOwnProperty]] (P)
...
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, "getOwnPropertyDescriptor").
...
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]
--- |
1015 |
trap-is-not-callable.js |
---
es6id: 9.5.5
description: >
Throws a TypeError exception if trap is not callable.
info: |
[[GetOwnProperty]] (P)
...
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, "getOwnPropertyDescriptor").
...
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]
--- |
882 |
trap-is-null-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-getownproperty-p
description: >
If "getOwnPropertyDescriptor" trap is null or undefined, [[GetOwnProperty]]
call is properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[GetOwnProperty]] ( P )
[...]
5. Let target be O.[[ProxyTarget]].
6. Let trap be ? GetMethod(handler, "getOwnPropertyDescriptor").
7. If trap is undefined, then
a. Return ? target.[[GetOwnProperty]](P).
includes: [propertyHelper.js]
features: [Proxy]
--- |
1561 |
trap-is-undefined-target-is-proxy.js |
---
esid: sec-proxy-object-internal-methods-and-internal-slots-getownproperty-p
description: >
If "getOwnPropertyDescriptor" trap is null or undefined, [[GetOwnProperty]]
call is properly forwarded to [[ProxyTarget]] (which is also a Proxy object).
info: |
[[GetOwnProperty]] ( P )
[...]
5. Let target be O.[[ProxyTarget]].
6. Let trap be ? GetMethod(handler, "getOwnPropertyDescriptor").
7. If trap is undefined, then
a. Return ? target.[[GetOwnProperty]](P).
includes: [propertyHelper.js]
features: [Proxy]
--- |
1300 |
trap-is-undefined.js |
---
es6id: 9.5.5
description: >
Return target.[[GetOwnProperty]](P) if trap is undefined.
info: |
[[GetOwnProperty]] (P)
...
8. If trap is undefined, then
a. Return target.[[GetOwnProperty]](P).
...
includes: [propertyHelper.js]
features: [Proxy]
--- |
687 |