• franzih's avatar
    [api] Add interceptor for getOwnPropertyDescriptor(). · b0a7738a
    franzih authored
    The existing PropertyQueryCallback intercepts getOwnPropertyDescriptor, but
    it returns only value and attributes, not the accessors. This
    PropertyDescriptorCallback returns a descriptor similar to Ecma-262 6.2.4.
    
    You can either set a PropertyQueryCallback or a PropertyDescriptorCallback,
    but not both. When you set a callback for DefineProperty(), you can set a
    PropertyDescriptorCallback but not a PropertyQueryCallback.
    
    BUG=v8:5359
    
    Review-Url: https://codereview.chromium.org/2311873002
    Cr-Commit-Position: refs/heads/master@{#39279}
    b0a7738a
Name
Last commit
Last update
..
libplatform Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
v8-debug.h Loading commit data...
v8-experimental.h Loading commit data...
v8-inspector-protocol.h Loading commit data...
v8-inspector.h Loading commit data...
v8-platform.h Loading commit data...
v8-profiler.h Loading commit data...
v8-testing.h Loading commit data...
v8-util.h Loading commit data...
v8-version.h Loading commit data...
v8.h Loading commit data...
v8config.h Loading commit data...