• cbruni's avatar
    [api] Add more parameters to Object::GetPropertyNames · 63efe9e4
    cbruni authored
    Expose more or less the full functionality of the KeyAccumulator in the API:
    - use the PropertyFilter introduced for GetOwnPropertyNames
    - use KeyCollectionLimit for OWN_ONLY or INLCUDE_PROTOS
    - use IndexFilter to eithe SKIP_INDICES or INCLUDE_INDICES
    
    Rewire Object::GetOwnPropertyNames to use GetPropertyNames.
    
    BUG=chromium:148757
    
    Review-Url: https://codereview.chromium.org/2002203002
    Cr-Commit-Position: refs/heads/master@{#36595}
    63efe9e4
runtime-object.cc 33.1 KB