Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX beta] Mandatory setter should check prototype descriptors. #12314

Merged
merged 1 commit into from
Oct 13, 2015

Commits on Sep 29, 2015

  1. [BUGFIX beta] Mandatory setter should check prototype descriptors.

    Prior to this change, a setter that exists on the prototype of the
    object was not detected and was effectively clobbered.
    
    This change updates `handleMandatorySetter` to check both the objects
    own descriptors and its prototypes descriptors.
    
    Also removed the guard for `Object.getOwnPropertyDescriptor` since all
    supported platforms are ES5.
    rwjblue committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    9d3a62d View commit details
    Browse the repository at this point in the history