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

Issue 2391273002: Fix bad-char handling in utf-8 streaming streams. Also add test. (Closed)

Created:
4 years, 2 months ago by vogelheim
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix bad-char handling in utf-8 streaming streams. Also add test. R=jochen@chromium.org BUG=chromium:651333, v8:4947 Committed: https://crrev.com/138127a60895be2c1d7b6bea9be194d307e5b91e Cr-Commit-Position: refs/heads/master@{#40004}

Patch Set 1 #

Patch Set 2 : Improve comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -16 lines) Patch
M src/parsing/scanner-character-streams.cc View 2 chunks +15 lines, -1 line 2 comments Download
M src/unicode.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/unicode.cc View 1 1 chunk +44 lines, -15 lines 0 comments Download
M test/cctest/parsing/test-scanner-streams.cc View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
vogelheim
ptal
4 years, 2 months ago (2016-10-05 15:37:44 UTC) #3
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/2391273002/diff/20001/src/parsing/scanner-character-streams.cc File src/parsing/scanner-character-streams.cc (right): https://codereview.chromium.org/2391273002/diff/20001/src/parsing/scanner-character-streams.cc#newcode295 src/parsing/scanner-character-streams.cc:295: DCHECK(t < unibrow::Utf16::kMaxNonSurrogateCharCode); DCHECK_LT?
4 years, 2 months ago (2016-10-05 16:11:56 UTC) #4
vogelheim
https://codereview.chromium.org/2391273002/diff/20001/src/parsing/scanner-character-streams.cc File src/parsing/scanner-character-streams.cc (right): https://codereview.chromium.org/2391273002/diff/20001/src/parsing/scanner-character-streams.cc#newcode295 src/parsing/scanner-character-streams.cc:295: DCHECK(t < unibrow::Utf16::kMaxNonSurrogateCharCode); On 2016/10/05 16:11:56, jochen (slow) wrote: ...
4 years, 2 months ago (2016-10-05 16:22:23 UTC) #5
jochen (gone - plz use gerrit)
not really... guess it's ok as is then
4 years, 2 months ago (2016-10-05 16:50:12 UTC) #6
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/2391273002/20001
4 years, 2 months ago (2016-10-05 16:51:32 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-05 17:18:43 UTC) #9
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 17:19:02 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/138127a60895be2c1d7b6bea9be194d307e5b91e
Cr-Commit-Position: refs/heads/master@{#40004}

Powered by Google App Engine
This is Rietveld 408576698