• arv's avatar
    [es6] Object.getPrototypeOf should work with values · d4a314f9
    arv authored
    This reverts commit 992751d0.
    
    The final spec for Object.getPrototypeOf calls ToObject on the
    parameter, which means that it should only throw for null and
    undefined. For other non object values the prototype of the wrapper
    should be used.
    
    Difference from last time: Updated .status and will disable Blink
    side tests as needed.
    
    BUG=v8:3964
    LOG=N
    R=adamk, rossberg@chromium.org
    CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
    
    Review URL: https://codereview.chromium.org/1051523003
    
    Cr-Commit-Position: refs/heads/master@{#27558}
    d4a314f9
set-prototype-of.js 4.38 KB