Skip to content
  • peria's avatar
    Use SetNativeDataProperty to install features dynamically on instances · 040755ec
    peria authored
    This CL replace DefineOwnProperty with SetNativeDataProperty in
    InstallAttributeInternal<v8::Object>() not to create function
    templates or instances on feature installations.
    
    This change enables us to use the function for all data properties
    and it improves performance of preparing origin-trial features
    and dynamic installs of runtime enabled features.
    
    BUG=617892
    
    Review-Url: https://codereview.chromium.org/2815453005
    Cr-Commit-Position: refs/heads/master@{#467260}
    040755ec