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

Issue 2119763003: Recognize HTMLCloseComment after multiline comment (Closed)

Created:
4 years, 5 months ago by jwolfe
Modified:
4 years, 5 months ago
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

Recognize HTMLCloseComment after multiline comment When the scanner finds a '-->', it's either part of an HTMLCloseComment or a '--' followed by a '>'. Previously, only a preceding newline would make it an HTMLCloseComment. Now, a preceding multiline comment also makes it an HTMLCloseComment. The effect is that now the following is not a SyntaxError: x/* */-->this is now a comment BUG=v8:5142 LOG=y Committed: https://crrev.com/b8668fa84671a6e98b3c79fab2716b92e218c36f Cr-Commit-Position: refs/heads/master@{#37656}

Patch Set 1 #

Patch Set 2 : formatting directives #

Total comments: 1

Patch Set 3 : add more test cases #

Patch Set 4 : fix test/webkit/parser-xml-close-comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
M src/parsing/scanner.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 1 2 2 chunks +18 lines, -2 lines 0 comments Download
M test/webkit/parser-xml-close-comment.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/webkit/parser-xml-close-comment-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (13 generated)
jwolfe
PTAL
4 years, 5 months ago (2016-07-01 22:08:26 UTC) #3
adamk
Punting to littledan as I don't think I'm going to get to this this afternoon ...
4 years, 5 months ago (2016-07-01 22:33:18 UTC) #6
Dan Ehrenberg
On 2016/07/01 22:33:18, adamk (out until june 12) wrote: > Punting to littledan as I ...
4 years, 5 months ago (2016-07-01 23:38:18 UTC) #7
nickie
The paragraph starting with "While" in the CL's description is a bit confusing. https://codereview.chromium.org/2119763003/diff/20001/test/cctest/test-parsing.cc File ...
4 years, 5 months ago (2016-07-04 08:27:10 UTC) #9
jwolfe
updated description and added more tests.
4 years, 5 months ago (2016-07-05 20:55:55 UTC) #11
nickie
lgtm
4 years, 5 months ago (2016-07-06 13:58:25 UTC) #12
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/2119763003/40001
4 years, 5 months ago (2016-07-06 19:13:00 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/4505) v8_linux64_avx2_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 5 months ago (2016-07-06 19:28:10 UTC) #17
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/2119763003/60001
4 years, 5 months ago (2016-07-11 19:38:31 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-11 20:02:37 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-11 20:05:35 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b8668fa84671a6e98b3c79fab2716b92e218c36f
Cr-Commit-Position: refs/heads/master@{#37656}

Powered by Google App Engine
This is Rietveld 408576698