blob: 0a910608f80b0eba97468ceef2aa59b291fc01cc [file] [log] [blame]
Test Runtime.getProperties with different flag combinations.
Properties of Object(5)
__proto__ own object undefined
foo own string cat
Internal properties
[[PrimitiveValue]] number 5
[[StableObjectId]] number 1
Properties of Not own properties
__defineGetter__ inherited function undefined
__defineSetter__ inherited function undefined
__lookupGetter__ inherited function undefined
__lookupSetter__ inherited function undefined
__proto__ inherited no value, getter, setter
a own number 2
b own no value, getter, setter
c inherited number 4
constructor inherited function undefined
d inherited no value, getter
hasOwnProperty inherited function undefined
isPrototypeOf inherited function undefined
propertyIsEnumerable inherited function undefined
toLocaleString inherited function undefined
toString inherited function undefined
valueOf inherited function undefined
Internal properties
[[StableObjectId]] number 2
Properties of Accessor only properties
b own no value, getter, setter
d own no value, setter
Properties of array
0 own string red
1 own string green
2 own string blue
__proto__ own object undefined
length own number 3
Internal properties
[[StableObjectId]] number 3
Properties of Bound function
__proto__ own function undefined
length own number 0
name own string bound Number
Internal properties
[[BoundArgs]] object undefined
[[BoundThis]] object undefined
[[StableObjectId]] number 4
[[TargetFunction]] function undefined
Properties of Event with user defined property
__proto__ own object undefined
eventPhase own no value, getter
isTrusted own boolean false
Internal properties
[[StableObjectId]] number 5