browser.js |
|
0 |
call-prototype-property-set.js |
---
es6id: 26.1.13
description: >
Call accessor's set from target's prototype.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
4. If ownDesc is undefined, then
a. Let parent be O.[[GetPrototypeOf]]().
b. ReturnIfAbrupt(parent).
c. If parent is not null, then
i. Return parent.[[Set]](P, V, Receiver).
...
11. Return true.
features: [Reflect, Reflect.set]
--- |
1315 |
creates-a-data-descriptor.js |
---
es6id: 26.1.13
description: >
Creates a property data descriptor.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
4. If ownDesc is undefined, then
a. Let parent be O.[[GetPrototypeOf]]().
b. ReturnIfAbrupt(parent).
c. If parent is not null, then
i. Return parent.[[Set]](P, V, Receiver).
d. Else,
ii. Let ownDesc be the PropertyDescriptor{[[Value]]: undefined,
[[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true}.
5. If IsDataDescriptor(ownDesc) is true, then
a. If ownDesc.[[Writable]] is false, return false.
b. If Type(Receiver) is not Object, return false.
c. Let existingDescriptor be Receiver.[[GetOwnProperty]](P).
d. ReturnIfAbrupt(existingDescriptor).
e. If existingDescriptor is not undefined, then
i. If IsAccessorDescriptor(existingDescriptor) is true, return false.
ii. If existingDescriptor.[[Writable]] is false, return false.
iii. Let valueDesc be the PropertyDescriptor{[[Value]]: V}.
iv. Return Receiver.[[DefineOwnProperty]](P, valueDesc).
f. Else Receiver does not currently have a property P,
i. Return CreateDataProperty(Receiver, P, V).
6. Assert: IsAccessorDescriptor(ownDesc) is true.
7. Let setter be ownDesc.[[Set]].
8. If setter is undefined, return false.
...
11. Return true.
includes: [propertyHelper.js]
features: [Reflect, Reflect.set]
--- |
2692 |
different-property-descriptors.js |
---
es6id: 26.1.13
description: >
Return false if target property turns to a data descriptor and receiver
property is an accessor descriptor.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
4. If ownDesc is undefined, then
a. Let parent be O.[[GetPrototypeOf]]().
b. ReturnIfAbrupt(parent).
c. If parent is not null, then
i. Return parent.[[Set]](P, V, Receiver).
d. Else,
ii. Let ownDesc be the PropertyDescriptor{[[Value]]: undefined,
[[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true}.
5. If IsDataDescriptor(ownDesc) is true, then
a. If ownDesc.[[Writable]] is false, return false.
b. If Type(Receiver) is not Object, return false.
c. Let existingDescriptor be Receiver.[[GetOwnProperty]](P).
d. ReturnIfAbrupt(existingDescriptor).
e. If existingDescriptor is not undefined, then
i. If IsAccessorDescriptor(existingDescriptor) is true, return false.
...
features: [Reflect, Reflect.set]
--- |
2126 |
length.js |
---
es6id: 26.1.13
description: >
Reflect.set.length value and property descriptor
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
The length property of the set function is 3.
includes: [propertyHelper.js]
features: [Reflect, Reflect.set]
--- |
555 |
name.js |
---
es6id: 26.1.13
description: >
Reflect.set.name value and property descriptor
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect, Reflect.set]
--- |
550 |
not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Reflect.set 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, Reflect.set, arrow-function]
--- |
890 |
receiver-is-not-object.js |
---
es6id: 26.1.13
description: >
Return false if receiver is not an object.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
4. If ownDesc is undefined, then
a. Let parent be O.[[GetPrototypeOf]]().
b. ReturnIfAbrupt(parent).
c. If parent is not null, then
i. Return parent.[[Set]](P, V, Receiver).
d. Else,
ii. Let ownDesc be the PropertyDescriptor{[[Value]]: undefined,
[[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true}.
5. If IsDataDescriptor(ownDesc) is true, then
a. If ownDesc.[[Writable]] is false, return false.
b. If Type(Receiver) is not Object, return false.
...
features: [Reflect, Reflect.set]
--- |
1370 |
return-abrupt-from-property-key.js |
---
es6id: 26.1.13
description: >
Return abrupt from ToPropertyKey(propertyKey)
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
2. Let key be ToPropertyKey(propertyKey).
3. ReturnIfAbrupt(key).
...
features: [Reflect, Reflect.set]
--- |
579 |
return-abrupt-from-result.js |
---
es6id: 26.1.13
description: >
Return abrupt result from get a property value.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
5. Return target.[[Set]](key, V, receiver).
features: [Reflect, Reflect.set]
--- |
732 |
return-false-if-receiver-is-not-writable.js |
---
es6id: 26.1.13
description: >
Return false if receiver is not writable.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
5. If IsDataDescriptor(ownDesc) is true, then
a. If ownDesc.[[Writable]] is false, return false.
...
features: [Reflect, Reflect.set]
--- |
852 |
return-false-if-target-is-not-writable.js |
---
es6id: 26.1.13
description: >
Return false if target is not writable.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
5. If IsDataDescriptor(ownDesc) is true, then
a. If ownDesc.[[Writable]] is false, return false.
b. If Type(Receiver) is not Object, return false.
c. Let existingDescriptor be Receiver.[[GetOwnProperty]](P).
d. ReturnIfAbrupt(existingDescriptor).
e. If existingDescriptor is not undefined, then
i. If IsAccessorDescriptor(existingDescriptor) is true, return false.
ii. If existingDescriptor.[[Writable]] is false, return false.
...
features: [Reflect, Reflect.set]
--- |
1354 |
set-value-on-accessor-descriptor-with-receiver.js |
---
es6id: 26.1.13
description: >
Set value on an accessor descriptor property with receiver as `this`.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
6. Assert: IsAccessorDescriptor(ownDesc) is true.
7. Let setter be ownDesc.[[Set]].
8. If setter is undefined, return false.
9. Let setterResult be Call(setter, Receiver, «V»).
10. ReturnIfAbrupt(setterResult).
11. Return true.
features: [Reflect, Reflect.set]
--- |
1431 |
set-value-on-accessor-descriptor.js |
---
es6id: 26.1.13
description: >
Set value on an accessor descriptor property.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
6. Assert: IsAccessorDescriptor(ownDesc) is true.
7. Let setter be ownDesc.[[Set]].
8. If setter is undefined, return false.
9. Let setterResult be Call(setter, Receiver, «V»).
10. ReturnIfAbrupt(setterResult).
11. Return true.
features: [Reflect, Reflect.set]
--- |
1246 |
set-value-on-data-descriptor.js |
---
es6id: 26.1.13
description: >
Sets the new value.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
4. If receiver is not present, then
a. Let receiver be target.
5. Return target.[[Set]](key, V, receiver).
9.1.9 [[Set]] ( P, V, Receiver)
...
5. If IsDataDescriptor(ownDesc) is true, then
a. If ownDesc.[[Writable]] is false, return false.
b. If Type(Receiver) is not Object, return false.
c. Let existingDescriptor be Receiver.[[GetOwnProperty]](P).
d. ReturnIfAbrupt(existingDescriptor).
e. If existingDescriptor is not undefined, then
i. If IsAccessorDescriptor(existingDescriptor) is true, return false.
ii. If existingDescriptor.[[Writable]] is false, return false.
iii. Let valueDesc be the PropertyDescriptor{[[Value]]: V}.
iv. Return Receiver.[[DefineOwnProperty]](P, valueDesc).
f. Else Receiver does not currently have a property P,
i. Return CreateDataProperty(Receiver, P, V).
...
features: [Reflect, Reflect.set]
--- |
1714 |
set.js |
---
es6id: 26.1.13
description: >
Reflect.set is configurable, writable and not enumerable.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect]
--- |
526 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
symbol-property.js |
---
es6id: 26.1.13
description: >
Sets the new value.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
...
2. Let key be ToPropertyKey(propertyKey).
...
7.1.14 ToPropertyKey ( argument )
...
3. If Type(key) is Symbol, then
a. Return key.
...
features: [Reflect, Reflect.set, Symbol]
--- |
1027 |
target-is-not-object-throws.js |
---
es6id: 26.1.13
description: >
Throws a TypeError if target is not an Object.
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Reflect, Reflect.set]
--- |
720 |
target-is-symbol-throws.js |
---
es6id: 26.1.13
description: >
Throws a TypeError if target is a Symbol
info: |
26.1.13 Reflect.set ( target, propertyKey, V [ , receiver ] )
1. If Type(target) is not Object, throw a TypeError exception.
...
features: [Reflect, Reflect.set, Symbol]
--- |
508 |