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

Issue 1645573002: [regexp] restrict pattern syntax for unicode mode. (Closed)

Created:
4 years, 11 months ago by Yang
Modified:
4 years, 10 months ago
Reviewers:
vogelheim
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@stage
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp] restrict pattern syntax for unicode mode. ES2015 Annex B.1.4 specifies a restricted pattern language for unicode mode. This change reflects that, based on some test262 test cases. R=littledan@chromium.org BUG=v8:2952 LOG=N Committed: https://crrev.com/e918c4ec464456a374098049ca22eac2107f6223 Cr-Commit-Position: refs/heads/master@{#33584} Committed: https://crrev.com/bb6a53573cd05786c0a6e4a229d57f63582161c8 Cr-Commit-Position: refs/heads/master@{#33603}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : commments and error messages #

Patch Set 4 : allow forward slash as identity escape #

Total comments: 4

Patch Set 5 : rebase #

Patch Set 6 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -75 lines) Patch
M src/regexp/regexp-parser.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/regexp/regexp-parser.cc View 1 2 3 4 5 18 chunks +116 lines, -73 lines 0 comments Download
A test/mjsunit/harmony/unicode-regexp-restricted-syntax.js View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
Yang
4 years, 11 months ago (2016-01-27 14:43:21 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645573002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645573002/1
4 years, 11 months ago (2016-01-27 14:43:35 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/9276)
4 years, 11 months ago (2016-01-27 14:53:41 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645573002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645573002/20001
4 years, 10 months ago (2016-01-27 16:00:18 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-27 16:26:46 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645573002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645573002/60001
4 years, 10 months ago (2016-01-28 07:42:46 UTC) #12
Yang
Daniel, could you take a look at this?
4 years, 10 months ago (2016-01-28 07:43:04 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645573002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645573002/80001
4 years, 10 months ago (2016-01-28 07:59:51 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-28 08:20:35 UTC) #18
vogelheim
lgtm Two nitpicks about the error handling; but honestly I'm not sure I even understand ...
4 years, 10 months ago (2016-01-28 13:38:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645573002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645573002/120001
4 years, 10 months ago (2016-01-28 14:00:23 UTC) #22
Yang
https://codereview.chromium.org/1645573002/diff/80001/src/regexp/regexp-parser.cc File src/regexp/regexp-parser.cc (right): https://codereview.chromium.org/1645573002/diff/80001/src/regexp/regexp-parser.cc#newcode496 src/regexp/regexp-parser.cc:496: ReportError(CStrVector("Lone quantifier brackets") CHECK_FAILED); On 2016/01/28 13:38:21, vogelheim wrote: ...
4 years, 10 months ago (2016-01-28 14:01:07 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 10 months ago (2016-01-28 14:24:05 UTC) #24
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/e918c4ec464456a374098049ca22eac2107f6223 Cr-Commit-Position: refs/heads/master@{#33584}
4 years, 10 months ago (2016-01-28 14:24:52 UTC) #26
Michael Achenbach
A revert of this CL (patchset #6 id:120001) has been created in https://codereview.chromium.org/1648673002/ by machenbach@chromium.org. ...
4 years, 10 months ago (2016-01-28 15:26:41 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645573002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645573002/120001
4 years, 10 months ago (2016-01-29 09:16:04 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 10 months ago (2016-01-29 09:21:14 UTC) #32
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 09:21:25 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bb6a53573cd05786c0a6e4a229d57f63582161c8
Cr-Commit-Position: refs/heads/master@{#33603}

Powered by Google App Engine
This is Rietveld 408576698