• littledan's avatar
    Put RegExp js code in strict mode · 80b1b2a4
    littledan authored
    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
    R=yangguo@chromium.org
    LOG=Y
    
    Review URL: https://codereview.chromium.org/1776883005
    
    Cr-Commit-Position: refs/heads/master@{#34801}
    80b1b2a4
Name
Last commit
Last update
..
alternative-length-miscalculation-expected.txt Loading commit data...
alternative-length-miscalculation.js Loading commit data...
assertion-expected.txt Loading commit data...
assertion.js Loading commit data...
constructor-expected.txt Loading commit data...
constructor.js Loading commit data...
dotstar-expected.txt Loading commit data...
dotstar.js Loading commit data...
early-acid3-86-expected.txt Loading commit data...
early-acid3-86.js Loading commit data...
ecma-regex-examples-expected.txt Loading commit data...
ecma-regex-examples.js Loading commit data...
invalid-range-in-class-expected.txt Loading commit data...
invalid-range-in-class.js Loading commit data...
lastIndex-expected.txt Loading commit data...
lastIndex.js Loading commit data...
malformed-escapes-expected.txt Loading commit data...
malformed-escapes.js Loading commit data...
non-capturing-backtracking-expected.txt Loading commit data...
non-capturing-backtracking.js Loading commit data...
overflow-expected.txt Loading commit data...
overflow.js Loading commit data...
parentheses-expected.txt Loading commit data...
parentheses.js Loading commit data...
pcre-test-4-expected.txt Loading commit data...
pcre-test-4.js Loading commit data...
quantified-assertions-expected.txt Loading commit data...
quantified-assertions.js Loading commit data...
repeat-match-waldemar-expected.txt Loading commit data...
repeat-match-waldemar.js Loading commit data...
toString-expected.txt Loading commit data...
toString.js Loading commit data...
unicodeCaseInsensitive-expected.txt Loading commit data...
unicodeCaseInsensitive.js Loading commit data...