• franzih's avatar
    [api] Add interceptor for defineProperty(). · 7c401bd8
    franzih authored
    With the Indexed/GenericNamedPropertyDefinerCallback it is possible to intercept Object.defineProperty() calls.
    
    Requests that call JSReceiver::OrdinaryDefineOwnProperty() internally, also trigger the interceptor. This includes Object.freeze(), Object.preventExtensions(), and Object.seal().
    
    As without this patch, the query interceptor triggers on
    defineProperty, unless the definer callback
    intercepts the request.
    
    As without this patch, the query interceptor triggers on defineProperty, unless the definer callback intercepts the request.
    
    BUG=
    
    Committed: https://crrev.com/b9d985975cf3bab0ded0cec9fafd3799f9bde29a
    Review-Url: https://codereview.chromium.org/2272383002
    Cr-Original-Commit-Position: refs/heads/master@{#39094}
    Cr-Commit-Position: refs/heads/master@{#39122}
    7c401bd8
Name
Last commit
Last update
..
libplatform Loading commit data...
OWNERS Loading commit data...
v8-debug.h Loading commit data...
v8-experimental.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...