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

Issue 2354973002: Handle Utf-8 BOM at beginning of an Utf-8 stream. (Closed)

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

Description

Handle Utf-8 BOM at beginning of an Utf-8 stream. (This should enable to drop the BOM handling in the Blink bindings.) R=marja@chromium.org BUG=v8:4947 Committed: https://crrev.com/a2b8b6e7db2939255326be2cad61e0bbafb1a1b2 Cr-Commit-Position: refs/heads/master@{#39579}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Test w/ single-byte BOM chunks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -1 line) Patch
M src/parsing/scanner-character-streams.cc View 2 chunks +7 lines, -1 line 0 comments Download
M test/cctest/parsing/test-scanner-streams.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
vogelheim
ptal. Blink companion cl at crrev.com/2351943003. https://codereview.chromium.org/2354973002/diff/20001/src/parsing/scanner-character-streams.cc File src/parsing/scanner-character-streams.cc (right): https://codereview.chromium.org/2354973002/diff/20001/src/parsing/scanner-character-streams.cc#newcode299 src/parsing/scanner-character-streams.cc:299: if (V8_LIKELY(t < ...
4 years, 3 months ago (2016-09-20 16:17:58 UTC) #4
marja
lgtm https://codereview.chromium.org/2354973002/diff/20001/src/parsing/scanner-character-streams.cc File src/parsing/scanner-character-streams.cc (right): https://codereview.chromium.org/2354973002/diff/20001/src/parsing/scanner-character-streams.cc#newcode299 src/parsing/scanner-character-streams.cc:299: if (V8_LIKELY(t < kUtf8Bom)) { On 2016/09/20 16:17:58, ...
4 years, 3 months ago (2016-09-20 18:52:30 UTC) #7
vogelheim
https://codereview.chromium.org/2354973002/diff/20001/test/cctest/parsing/test-scanner-streams.cc File test/cctest/parsing/test-scanner-streams.cc (right): https://codereview.chromium.org/2354973002/diff/20001/test/cctest/parsing/test-scanner-streams.cc#newcode140 test/cctest/parsing/test-scanner-streams.cc:140: char data[1 + arraysize(unicode_utf8)] = {"\xbf"}; On 2016/09/20 18:52:30, ...
4 years, 3 months ago (2016-09-21 07:50:54 UTC) #8
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/2354973002/40001
4 years, 3 months ago (2016-09-21 07:51:13 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 3 months ago (2016-09-21 08:39:56 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 08:40:23 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a2b8b6e7db2939255326be2cad61e0bbafb1a1b2
Cr-Commit-Position: refs/heads/master@{#39579}

Powered by Google App Engine
This is Rietveld 408576698