base-ctor-revoked-proxy-realm.js |
---
esid: sec-ecmascript-function-objects-construct-argumentslist-newtarget
description: >
Error retrieving function realm from revoked Proxy exotic object (honoring
the Realm of the current execution context)
info: |
[...]
5. If kind is "base", then
a. Let thisArgument be ? OrdinaryCreateFromConstructor(newTarget,
"%ObjectPrototype%").
[...]
9.1.13 OrdinaryCreateFromConstructor
[...]
2. Let proto be ? GetPrototypeFromConstructor(constructor,
intrinsicDefaultProto).
[...]
9.1.14 GetPrototypeFromConstructor
[...]
3. Let proto be ? Get(constructor, "prototype").
4. If Type(proto) is not Object, then
a. Let realm be ? GetFunctionRealm(constructor).
7.3.22 GetFunctionRealm
[...]
2. If obj has a [[Realm]] internal slot, then
[...]
3. If obj is a Bound Function exotic object, then
[...]
4. If obj is a Proxy exotic object, then
a. If the value of the [[ProxyHandler]] internal slot of obj is null,
throw a TypeError exception.
features: [cross-realm, Proxy]
--- |
1588 |
base-ctor-revoked-proxy.js |
---
esid: sec-ecmascript-function-objects-construct-argumentslist-newtarget
description: Error retrieving function realm from revoked Proxy exotic object
info: |
[...]
5. If kind is "base", then
a. Let thisArgument be ? OrdinaryCreateFromConstructor(newTarget,
"%ObjectPrototype%").
[...]
9.1.13 OrdinaryCreateFromConstructor
[...]
2. Let proto be ? GetPrototypeFromConstructor(constructor,
intrinsicDefaultProto).
[...]
9.1.14 GetPrototypeFromConstructor
[...]
3. Let proto be ? Get(constructor, "prototype").
4. If Type(proto) is not Object, then
a. Let realm be ? GetFunctionRealm(constructor).
7.3.22 GetFunctionRealm
[...]
2. If obj has a [[Realm]] internal slot, then
[...]
3. If obj is a Bound Function exotic object, then
[...]
4. If obj is a Proxy exotic object, then
a. If the value of the [[ProxyHandler]] internal slot of obj is null,
throw a TypeError exception.
features: [Proxy]
--- |
1470 |
browser.js |
|
0 |
derived-return-val-realm.js |
---
esid: sec-ecmascript-function-objects-construct-argumentslist-newtarget
description: >
Error when derived constructor returns a non-undefined value (honoring
the Realm of the current execution context)
info: |
[...]
13. If result.[[Type]] is return, then
a. If Type(result.[[Value]]) is Object, return
NormalCompletion(result.[[Value]]).
b. If kind is "base", return NormalCompletion(thisArgument).
c. If result.[[Value]] is not undefined, throw a TypeError exception.
[...]
features: [cross-realm, class]
--- |
908 |
derived-return-val.js |
---
esid: sec-ecmascript-function-objects-construct-argumentslist-newtarget
description: Error when derived constructor returns a non-undefined value
info: |
[...]
13. If result.[[Type]] is return, then
a. If Type(result.[[Value]]) is Object, return
NormalCompletion(result.[[Value]]).
b. If kind is "base", return NormalCompletion(thisArgument).
c. If result.[[Value]] is not undefined, throw a TypeError exception.
[...]
features: [class]
--- |
763 |
derived-this-uninitialized-realm.js |
---
esid: sec-ecmascript-function-objects-construct-argumentslist-newtarget
description: >
Error when derived constructor does not initialize the `this` binding
(honoring the Realm of the current execution context)
info: |
[...]
15. Return ? envRec.GetThisBinding().
8.1.1.3.4 GetThisBinding ()
[...]
3. If envRec.[[ThisBindingStatus]] is "uninitialized", throw a ReferenceError
exception.
features: [cross-realm, class]
--- |
778 |
derived-this-uninitialized.js |
---
esid: sec-ecmascript-function-objects-construct-argumentslist-newtarget
description: >
Error when derived constructor does not initialize the `this` binding
info: |
[...]
15. Return ? envRec.GetThisBinding().
8.1.1.3.4 GetThisBinding ()
[...]
3. If envRec.[[ThisBindingStatus]] is "uninitialized", throw a ReferenceError
exception.
features: [class]
--- |
649 |
shell.js |
|
0 |