apply |
|
|
browser.js |
|
0 |
construct |
|
|
constructor.js |
---
es6id: 26.2.1
description: >
The Proxy constructor is the %Proxy% intrinsic object and the
initial value of the Proxy property of the global object.
features: [Proxy]
--- |
426 |
create-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]
--- |
629 |
create-handler-not-object-throw-boolean.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
3. If Type(handler) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
400 |
create-handler-not-object-throw-null.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
3. If Type(handler) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
399 |
create-handler-not-object-throw-number.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
3. If Type(handler) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
396 |
create-handler-not-object-throw-string.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
3. If Type(handler) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
397 |
create-handler-not-object-throw-symbol.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
3. If Type(handler) is not Object, throw a TypeError exception.
...
features: [Proxy, Symbol]
--- |
411 |
create-handler-not-object-throw-undefined.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
3. If Type(handler) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
404 |
create-target-is-not-a-constructor.js |
---
esid: sec-proxycreate
description: >
A Proxy exotic object only accepts a constructor call if target is
constructor.
info: |
ProxyCreate ( target, handler )
If IsCallable(target) is true, then
Set P.[[Call]] as specified in 9.5.12.
If IsConstructor(target) is true, then
Set P.[[Construct]] as specified in 9.5.13.
...
Runtime Semantics: EvaluateNew(constructProduction, arguments)
8. If IsConstructor (constructor) is false, throw a TypeError exception.
includes: [isConstructor.js]
features: [Proxy, Reflect.construct, arrow-function]
--- |
986 |
create-target-is-not-callable.js |
---
esid: sec-proxycreate
description: >
A Proxy exotic object is only callable if the given target is callable.
info: |
Proxy ( target, handler )
7. If IsCallable(target) is true, then
a. Set the [[Call]] internal method of P as specified in 9.5.13.
...
12.3.4.3 Runtime Semantics: EvaluateDirectCall( func, thisValue, arguments,
tailPosition )
4. If IsCallable(func) is false, throw a TypeError exception.
features: [Proxy]
--- |
712 |
create-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]
--- |
656 |
create-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]
--- |
634 |
create-target-not-object-throw-boolean.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
399 |
create-target-not-object-throw-null.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
398 |
create-target-not-object-throw-number.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
395 |
create-target-not-object-throw-string.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
396 |
create-target-not-object-throw-symbol.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Proxy, Symbol]
--- |
410 |
create-target-not-object-throw-undefined.js |
---
es6id: 9.5.15
description: >
Proxy ( target, handler )
...
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Proxy]
--- |
403 |
defineProperty |
|
|
deleteProperty |
|
|
enumerate |
|
|
function-prototype.js |
---
es6id: 26.2.2
description: >
The value of the [[Prototype]] internal slot of the Proxy
constructor is the intrinsic object %FunctionPrototype% (19.2.3).
features: [Proxy]
--- |
491 |
get |
|
|
get-fn-realm-recursive.js |
---
esid: sec-getfunctionrealm
description: >
The realm of a Proxy exotic object is the realm of its target function.
GetFunctionRealm is called recursively.
info: |
Boolean ( value )
[...]
3. Let O be ? OrdinaryCreateFromConstructor(NewTarget, "%Boolean.prototype%", « [[BooleanData]] »).
[...]
5. Return O.
OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] )
[...]
2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto).
3. Return OrdinaryObjectCreate(proto, internalSlotsList).
GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto )
[...]
3. Let proto be ? Get(constructor, "prototype").
4. If Type(proto) is not Object, then
a. Let realm be ? GetFunctionRealm(constructor).
b. Set proto to realm's intrinsic object named intrinsicDefaultProto.
5. Return proto.
GetFunctionRealm ( obj )
[...]
2. If obj has a [[Realm]] internal slot, then
a. Return obj.[[Realm]].
[...]
4. If obj is a Proxy exotic object, then
[...]
b. Let proxyTarget be obj.[[ProxyTarget]].
c. Return ? GetFunctionRealm(proxyTarget).
features: [cross-realm, Reflect, Proxy]
--- |
1904 |
get-fn-realm.js |
---
esid: sec-getfunctionrealm
description: >
The realm of a Proxy exotic object is the realm of its target function.
info: |
Array ( )
[...]
4. Let proto be ? GetPrototypeFromConstructor(newTarget, "%Array.prototype%").
5. Return ! ArrayCreate(0, proto).
OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] )
[...]
2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto).
3. Return OrdinaryObjectCreate(proto, internalSlotsList).
GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto )
[...]
3. Let proto be ? Get(constructor, "prototype").
4. If Type(proto) is not Object, then
a. Let realm be ? GetFunctionRealm(constructor).
b. Set proto to realm's intrinsic object named intrinsicDefaultProto.
5. Return proto.
GetFunctionRealm ( obj )
[...]
2. If obj has a [[Realm]] internal slot, then
a. Return obj.[[Realm]].
[...]
4. If obj is a Proxy exotic object, then
[...]
b. Let proxyTarget be obj.[[ProxyTarget]].
c. Return ? GetFunctionRealm(proxyTarget).
features: [cross-realm, Reflect, Proxy]
--- |
1732 |
getOwnPropertyDescriptor |
|
|
getPrototypeOf |
|
|
has |
|
|
isExtensible |
|
|
length.js |
---
es6id: 26.2.2
description: >
Properties of the Proxy Constructor
Besides the length property (whose value is 2)
includes: [propertyHelper.js]
features: [Proxy]
--- |
454 |
name.js |
---
es6id: 26.2.1.1
description: >
Proxy ( target, handler )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Proxy]
--- |
443 |
ownKeys |
|
|
preventExtensions |
|
|
property-order.js |
---
esid: sec-createbuiltinfunction
description: Proxy constructor property order
info: |
Set order: "length", "name", ...
features: [Proxy]
--- |
581 |
proxy-newtarget.js |
---
es6id: 26.2.1.1
description: >
Proxy ( target, handler )
When Proxy is called with arguments target and handler performs
the following steps:
...
2. Return ProxyCreate(target, handler). (9.5.15)
...
9.5.15 ProxyCreate(target, handler)
...
5. Let P be a newly created object.
...
10. Return P.
features: [Proxy]
--- |
660 |
proxy-no-prototype.js |
---
es6id: 26.2.2
description: >
The Proxy constructor does not have a prototype property because
proxy exotic objects do not have a [[Prototype]] internal slot
that requires initialization.
features: [Proxy]
--- |
519 |
proxy-undefined-newtarget.js |
---
es6id: 26.2.1.1
description: >
Proxy ( target, handler )
When Proxy is called with arguments target and handler performs
the following steps:
1. If NewTarget is undefined, throw a TypeError exception.
...
features: [Proxy]
--- |
478 |
proxy.js |
---
es6id: 26.2.1.1
description: >
Proxy ( target, handler )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
--- |
406 |
revocable |
|
|
set |
|
|
setPrototypeOf |
|
|
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |