• littledan's avatar
    Allow immutable prototype templates to inherit · baf0ec31
    littledan authored
    To enable the global object prototype chain to be frozen, all objects
    in the chain need to be marked as immutable prototype exotic objects.
    However, a bug in the previous implementation of immutable prototype
    exotic objects left the check in place when initially setting up the
    object, which made it impossible to allow inheritance chains. This
    patch removes that mistaken check.
    
    BUG=v8:5149
    
    Review-Url: https://codereview.chromium.org/2449163004
    Cr-Commit-Position: refs/heads/master@{#40702}
    baf0ec31
test-api.cc 907 KB