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

Issue 232513003: Encoding API: Add ignoreBOM flag to decoder options (Closed)

Created:
6 years, 8 months ago by jsbell
Modified:
6 years, 7 months ago
CC:
blink-reviews
Visibility:
Public.

Description

Encoding API: Add ignoreBOM flag to decoder options An additional option flag was added to the WHATWG Encoding Living Standard's API to allow callers to disable the minimal BOM handling the API supports. BUG=362609 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174918

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 2

Patch Set 3 : Rebased #

Patch Set 4 : More explicit test output, correct assertion comment in default case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -4 lines) Patch
A LayoutTests/fast/encoding/api/textdecoder-ignorebom.html View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A LayoutTests/fast/encoding/api/textdecoder-ignorebom-expected.txt View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/encoding/TextDecoder.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/modules/encoding/TextDecoder.cpp View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jsbell
jshin@ - please take a look?
6 years, 8 months ago (2014-04-14 16:30:29 UTC) #1
jsbell
jshin@ - ping on this one too?
6 years, 8 months ago (2014-04-22 00:06:38 UTC) #2
jsbell
jshin@ - ping?
6 years, 7 months ago (2014-04-29 21:55:20 UTC) #3
jsbell
Actually, since this really just affects the API and not codec output, kbr@ can you ...
6 years, 7 months ago (2014-05-13 11:08:49 UTC) #4
jsbell
ping kbr@ or jshin@ ?
6 years, 7 months ago (2014-05-20 23:59:17 UTC) #5
Ken Russell (switch to Gerrit)
I'm not really qualified to review this and defer to jshin's review.
6 years, 7 months ago (2014-05-21 00:18:48 UTC) #6
jungshik at Google
https://codereview.chromium.org/232513003/diff/20001/LayoutTests/fast/encoding/api/textdecoder-ignorebom.html File LayoutTests/fast/encoding/api/textdecoder-ignorebom.html (right): https://codereview.chromium.org/232513003/diff/20001/LayoutTests/fast/encoding/api/textdecoder-ignorebom.html#newcode34 LayoutTests/fast/encoding/api/textdecoder-ignorebom.html:34: testCase.encoding + ': Default is to ignore the BOM'); ...
6 years, 7 months ago (2014-05-27 17:09:11 UTC) #7
jsbell
Thanks for taking a look. Corrected test uploaded. https://codereview.chromium.org/232513003/diff/20001/LayoutTests/fast/encoding/api/textdecoder-ignorebom.html File LayoutTests/fast/encoding/api/textdecoder-ignorebom.html (right): https://codereview.chromium.org/232513003/diff/20001/LayoutTests/fast/encoding/api/textdecoder-ignorebom.html#newcode34 LayoutTests/fast/encoding/api/textdecoder-ignorebom.html:34: testCase.encoding ...
6 years, 7 months ago (2014-05-27 17:40:46 UTC) #8
jungshik at Google
On 2014/05/27 17:40:46, jsbell wrote: > Thanks for taking a look. Corrected test uploaded. > ...
6 years, 7 months ago (2014-05-27 17:42:03 UTC) #9
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 7 months ago (2014-05-27 17:42:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/232513003/60001
6 years, 7 months ago (2014-05-27 17:42:48 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 7 months ago (2014-05-27 18:56:58 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 19:54:42 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/9328)
6 years, 7 months ago (2014-05-27 19:54:42 UTC) #14
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 7 months ago (2014-05-28 00:35:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/232513003/60001
6 years, 7 months ago (2014-05-28 00:35:44 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-28 01:42:49 UTC) #17
Message was sent while issue was closed.
Change committed as 174918

Powered by Google App Engine
This is Rietveld 408576698