• franzih's avatar
    [api] Add interceptor for defineProperty(). · b9d98597
    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().
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2272383002
    Cr-Commit-Position: refs/heads/master@{#39094}
    b9d98597
api-arguments-inl.h 6.99 KB