browser.js |
|
0 |
builtin.js |
---
esid: sec-proxy.revocable
description: >
Requirements for built-in functions, defined in introduction of chapter 17,
are satisfied.
features: [Proxy, Reflect.construct]
--- |
1047 |
handler-is-revoked-proxy.js |
---
esid: sec-proxycreate
description: >
A Proxy is created with its [[ProxyHandler]] as revoked Proxy.
info: |
ProxyCreate ( target, handler )
[...]
3. Let P be ! MakeBasicObject(« [[ProxyHandler]], [[ProxyTarget]] »).
[...]
7. Set P.[[ProxyHandler]] to handler.
8. Return P.
features: [Proxy]
--- |
662 |
length.js |
---
es6id: 26.2.2.1
description: >
Proxy.revocable.length is 2.
info: |
Proxy.revocable ( target, handler )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description, including optional
parameters. However, rest parameters shown using the form “...name”
are not included in the default argument count.
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Proxy]
--- |
1088 |
name.js |
---
es6id: 26.2.2.1
description: >
Proxy.revocable.name is "revocable".
info: |
Proxy.revocable ( target, handler )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Proxy]
--- |
859 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Proxy.revocable does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, Reflect, arrow-function, Proxy]
--- |
904 |
proxy.js |
---
es6id: 26.2.2.1
description: >
The returned object has a proxy property which is the created Proxy object
built with the given target and handler given parameters.
info: |
Proxy.revocable ( target, handler )
6. Perform CreateDataProperty(result, "proxy", p).
features: [Proxy]
--- |
635 |
revocation-function-extensible.js |
---
es6id: 26.2.2.1.1
description: The [[Extensible]] slot of Proxy Revocation functions
info: |
17 ECMAScript Standard Built-in Objects:
Unless specified otherwise, the [[Extensible]] internal slot
of a built-in object initially has the value true.
features: [Proxy]
--- |
547 |
revocation-function-length.js |
---
es6id: 26.2.2.1.1
description: The `length` property of Proxy Revocation functions
info: |
The length property of a Proxy revocation function is 0.
17 ECMAScript Standard Built-in Objects:
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Proxy]
--- |
771 |
revocation-function-name.js |
---
es6id: 26.2.2.1.1
description: The `name` property of Proxy Revocation functions
info: |
A Proxy revocation function is an anonymous function.
17 ECMAScript Standard Built-in Objects:
Every built-in function object, including constructors, has a `name`
property whose value is a String. Functions that are identified as
anonymous functions use the empty string as the value of the `name`
property.
Unless otherwise specified, the `name` property of a built-in function
object has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*,
[[Configurable]]: *true* }.
includes: [propertyHelper.js]
features: [Proxy]
--- |
995 |
revocation-function-not-a-constructor.js |
---
esid: sec-proxy.revocable
description: Proxy Revocation functions are not constructors
info: |
17 ECMAScript Standard Built-in Objects:
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified
in the description of a particular function.
includes: [isConstructor.js]
features: [Proxy, Reflect.construct, arrow-function]
--- |
1022 |
revocation-function-property-order.js |
---
esid: sec-createbuiltinfunction
description: Proxy revocation function property order
info: |
Set order: "length", "name"
--- |
637 |
revocation-function-prototype.js |
---
es6id: 26.2.2.1.1
description: The [[Prototype]] of Proxy Revocation functions
info: |
17 ECMAScript Standard Built-in Objects:
Unless otherwise specified every built-in function and every built-in
constructor has the Function prototype object, which is the initial
value of the expression Function.prototype (19.2.3), as the value of
its [[Prototype]] internal slot.
features: [Proxy]
--- |
709 |
revoke-consecutive-call-returns-undefined.js |
---
es6id: 26.2.2.1.1
description: >
Calling the revoked function again will return undefined
info: |
Proxy Revocation Functions
...
1. Let p be the value of F’s [[RevocableProxy]] internal slot.
2. If p is null, return undefined.
features: [Proxy]
--- |
529 |
revoke-returns-undefined.js |
---
es6id: 26.2.2.1.1
description: >
Calling the revoked function returns undefined
info: |
Proxy Revocation Functions
...
7. Return undefined.
features: [Proxy]
--- |
423 |
revoke.js |
---
es6id: 26.2.2.1
description: >
The returned object has a `revoked` property which is a function
info: |
Proxy.revocable ( target, handler )
7. Perform CreateDataProperty(result, "revoke", revoker).
features: [Proxy]
--- |
483 |
shell.js |
|
0 |
target-is-revoked-function-proxy.js |
---
esid: sec-proxycreate
description: >
A Proxy is created with its [[ProxyTarget]] as revoked function Proxy.
info: |
ProxyCreate ( target, handler )
[...]
3. Let P be ! MakeBasicObject(« [[ProxyHandler]], [[ProxyTarget]] »).
[...]
6. Set P.[[ProxyTarget]] to target.
[...]
8. Return P.
features: [Proxy]
--- |
686 |
target-is-revoked-proxy.js |
---
esid: sec-proxycreate
description: >
A Proxy is created with its [[ProxyTarget]] as revoked Proxy.
info: |
ProxyCreate ( target, handler )
[...]
3. Let P be ! MakeBasicObject(« [[ProxyHandler]], [[ProxyTarget]] »).
[...]
6. Set P.[[ProxyTarget]] to target.
[...]
8. Return P.
features: [Proxy]
--- |
664 |
tco-fn-realm-strict.js |
---
description: >
Realm of the TypeError from invoking a revoked Proxy during tail-call
optimization
esid: sec-tail-position-calls
flags: [onlyStrict]
features: [Proxy, tail-call-optimization]
--- |
687 |