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

Issue 23455007: Encoding API: Use 'windows-1252' as name for 'us-ascii' 'iso-8859-1' (Closed)

Created:
7 years, 3 months ago by jsbell
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Visibility:
Public.

Description

Encoding API: Use 'windows-1252' as name for 'us-ascii' 'iso-8859-1' Aliasing is done at the API level, since Blink intentionally maintains differently named codec instances for these, even though the same codec is actually used. R=kbr@chromium.org,jshin@chromium.org BUG=277027, 277030 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156863

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add test for the latin-1 aliases #

Patch Set 3 : Remove control characters from expected.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -20 lines) Patch
M LayoutTests/fast/encoding/api/encoding-labels-expected.txt View 1 chunk +12 lines, -12 lines 0 comments Download
M LayoutTests/fast/encoding/api/encoding-names-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
A LayoutTests/fast/encoding/api/latin-1.html View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A LayoutTests/fast/encoding/api/latin-1-expected.txt View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
M Source/modules/encoding/TextDecoder.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M Source/modules/encoding/TextEncoder.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jsbell
I want to add a test that verifies that TextDecoder("us-ascii") and TextDecoder("iso-8859-1") and TextDecoder("windows-1252") all ...
7 years, 3 months ago (2013-08-27 00:18:10 UTC) #1
jsbell
https://codereview.chromium.org/23455007/diff/1/Source/modules/encoding/TextDecoder.cpp File Source/modules/encoding/TextDecoder.cpp (right): https://codereview.chromium.org/23455007/diff/1/Source/modules/encoding/TextDecoder.cpp#newcode73 Source/modules/encoding/TextDecoder.cpp:73: if (name == "iso-8859-1" || name == "us-ascii") This ...
7 years, 3 months ago (2013-08-27 00:21:04 UTC) #2
Ken Russell (switch to Gerrit)
lgtm https://codereview.chromium.org/23455007/diff/1/Source/modules/encoding/TextDecoder.cpp File Source/modules/encoding/TextDecoder.cpp (right): https://codereview.chromium.org/23455007/diff/1/Source/modules/encoding/TextDecoder.cpp#newcode73 Source/modules/encoding/TextDecoder.cpp:73: if (name == "iso-8859-1" || name == "us-ascii") ...
7 years, 3 months ago (2013-08-27 03:32:54 UTC) #3
jungshik at Google
LGTM ! Thanks.
7 years, 3 months ago (2013-08-27 20:17:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/23455007/7001
7 years, 3 months ago (2013-08-27 22:40:32 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_lint, webkit_python_tests, webkit_tests, webkit_unit_tests, weborigin_unittests, wtf_unittests ...
7 years, 3 months ago (2013-08-28 01:13:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/23455007/21001
7 years, 3 months ago (2013-08-28 16:38:39 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-08-28 18:21:31 UTC) #8
Message was sent while issue was closed.
Change committed as 156863

Powered by Google App Engine
This is Rietveld 408576698