runtime-get-properties-and-accessor-expected.txt 747 Bytes
Newer Older
1 2 3
Runtime.getProperties for objects with accessor
title property with getter and setter:
{
4 5
    configurable : true
    enumerable : true
6 7
    get : {
        className : Function
8
        description : function () { [native code] }
9 10 11 12 13 14 15
        objectId : <objectId>
        type : function
    }
    isOwn : true
    name : title
    set : {
        className : Function
16
        description : function () { [native code] }
17 18 19 20 21 22
        objectId : <objectId>
        type : function
    }
}
title property with getter only:
{
23 24
    configurable : true
    enumerable : true
25 26
    get : {
        className : Function
27
        description : function () { [native code] }
28 29 30 31 32 33
        objectId : <objectId>
        type : function
    }
    isOwn : true
    name : title
}