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

deps: cherry-pick 34880eb3dc from V8 upstream #8673

Closed
wants to merge 1 commit into from

Commits on Sep 22, 2016

  1. deps: cherry-pick 34880eb3dc from V8 upstream

        Revert of Put RegExp js code in strict mode (patchset nodejs#2 id:20001
        of https://codereview.chromium.org/1776883005/ )
    
        Reason for revert:
        Found to break SAP Web IDE, and these semantics are not shipped
        in any other browser.
        Revert to legacy semantics while assessing web compatibility.
    
        BUG=chromium:624318
    
        Original issue's description:
        > Put RegExp js code in strict mode
        >
        > src/js/regexp.js was one of the few files that was left in sloppy
        > mode. The ES2017 draft specification requires that writes to
        > lastIndex throw when the property is non-writable, and test262
        > tests enforce this behavior. This patch puts that file in strict
        > mode.
        >
        > BUG=v8:4504
        > [email protected]
        > LOG=Y
        >
        > Committed: https://crrev.com/80b1b2a45bbd9bf3d08e4e6516acfaaa8f438213
        > Cr-Commit-Position: refs/heads/master@{nodejs#34801}
    
        [email protected],[email protected]
    
        Review-Url: https://codereview.chromium.org/2112713003
        Cr-Commit-Position: refs/heads/master@{nodejs#37449}
    Myles Borins committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    5a82cf7 View commit details
    Browse the repository at this point in the history