Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Issue 2344773002: Reland of Put RegExp js code in strict mode (patchset #2 id:20001 of https://codereview.chromium.or… (Closed)

Created:
4 years, 3 months ago by Dan Ehrenberg
Modified:
4 years, 3 months ago
Reviewers:
adamk, Yang, jgruber
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Reland of Put RegExp js code in strict mode (patchset #2 id:20001 of https://codereview.chromium.or… (patchset #2 id:20001 of https://codereview.chromium.org/2112713003/ ) Reason for revert: With fixes for frozen RegExps in https://codereview.chromium.org/2339443002 , it should be web-compatible to put RegExps in strict mode again, per spec. Original issue's description: > Revert of Put RegExp js code in strict mode (patchset #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 > > R=yangguo@chromium.org > > LOG=Y > > > > Committed: https://crrev.com/80b1b2a45bbd9bf3d08e4e6516acfaaa8f438213 > > Cr-Commit-Position: refs/heads/master@{#34801} > > TBR=yangguo@chromium.org,adamk@chromium.org > > Committed: https://crrev.com/34880eb3dcf7492d44c0a3b45b6c888189f2c3c3 > Cr-Commit-Position: refs/heads/master@{#37449} TBR=adamk@chromium.org,yangguo@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=chromium:624318 Committed: https://crrev.com/6b7430fab1cac0b8b9d6a45b5fdd1ca252921ed7 Cr-Commit-Position: refs/heads/master@{#39456}

Patch Set 1 #

Patch Set 2 : Fix up tests #

Patch Set 3 : Simplify test262 expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -15 lines) Patch
M src/js/regexp.js View 1 1 chunk +2 lines, -0 lines 0 comments Download
A test/mjsunit/regexp-lastIndex.js View 1 1 chunk +22 lines, -0 lines 0 comments Download
M test/test262/test262.status View 1 2 1 chunk +2 lines, -13 lines 0 comments Download
M test/webkit/fast/regex/lastIndex-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Dan Ehrenberg
Created Reland of Put RegExp js code in strict mode (patchset #2 id:20001 of https://codereview.chromium.or…
4 years, 3 months ago (2016-09-15 03:30:06 UTC) #1
Dan Ehrenberg
This caused web compatibility issues in the past, but jgruber's fix should address those and ...
4 years, 3 months ago (2016-09-15 04:15:34 UTC) #9
jgruber
On 2016/09/15 04:15:34, Dan Ehrenberg wrote: > This caused web compatibility issues in the past, ...
4 years, 3 months ago (2016-09-15 07:23:40 UTC) #12
adamk
lgtm (does this break any Blink tests?)
4 years, 3 months ago (2016-09-15 15:46:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2344773002/140001
4 years, 3 months ago (2016-09-15 18:54:04 UTC) #16
Dan Ehrenberg
On 2016/09/15 at 15:46:48, adamk wrote: > lgtm (does this break any Blink tests?) Doesn't ...
4 years, 3 months ago (2016-09-15 18:54:41 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years, 3 months ago (2016-09-15 19:20:24 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 19:21:22 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6b7430fab1cac0b8b9d6a45b5fdd1ca252921ed7
Cr-Commit-Position: refs/heads/master@{#39456}

Powered by Google App Engine
This is Rietveld 408576698