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

Issue 1862453003: [Blink>TextEncoder] Removed UTF-16 support from TextEncoder API. (Closed)

Created:
4 years, 8 months ago by lpan
Modified:
4 years, 5 months ago
Reviewers:
*jsbell, jbroman
CC:
chromium-reviews, blink-reviews, tfarina, blink-reviews-w3ctests_chromium.org, haraken, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Blink>TextEncoder] Removed UTF-16 support from TextEncoder API. Removal of UTF-16 support due to lack of use cases (see https://github.com/w3c/i18n-activity/issues/116 for more details). References to UTF-16 have been removed, and failing expectations added to the tests. Intent to Deprecate and Remove: https://groups.google.com/a/chromium.org/d/msg/blink-dev/13uMPjRqY94/lhPLKRJnAwAJ BUG=595351 TEST=Start chrome and run tests in third_party/WebKit/LayoutTests/fast/encoding/api and third_party/WebKit/LayoutTests/imported/web-platform-tests/encoding. Tests that relied on UTF-16 support should fail as expected. Committed: https://crrev.com/4e0d49e0a7223958ebad85a98172ec1a8090c635 Cr-Commit-Position: refs/heads/master@{#404410}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Fixed code, removed meaningless test #

Total comments: 17

Patch Set 3 : Rebase, fixes to utf-round-trip, minor style changes #

Total comments: 1

Patch Set 4 : Rebase #

Patch Set 5 : Removed unneeded failing expectations #

Patch Set 6 : Fixed compositor-proxy-supports test #

Messages

Total messages: 64 (21 generated)
jsbell
Initial feedback. I would also expect some tests under imported/web-platform-tests/encoding to fail and need new ...
4 years, 8 months ago (2016-04-06 18:03:23 UTC) #4
jsbell
Updates to the web-platform-tests have landed. If we do another import we'll bring in "failures" ...
4 years, 8 months ago (2016-04-08 18:36:27 UTC) #5
lpan
On 2016/04/08 18:36:27, jsbell wrote: > Updates to the web-platform-tests have landed. If we do ...
4 years, 8 months ago (2016-04-09 01:10:16 UTC) #6
lpan
Response to initial review. https://codereview.chromium.org/1862453003/diff/1/third_party/WebKit/LayoutTests/fast/encoding/api/textencoder-labels-expected.txt File third_party/WebKit/LayoutTests/fast/encoding/api/textencoder-labels-expected.txt (right): https://codereview.chromium.org/1862453003/diff/1/third_party/WebKit/LayoutTests/fast/encoding/api/textencoder-labels-expected.txt#newcode50 third_party/WebKit/LayoutTests/fast/encoding/api/textencoder-labels-expected.txt:50: FAIL "utf-16be" => "utf-16be" Failed ...
4 years, 8 months ago (2016-04-09 03:25:16 UTC) #9
jsbell
I'm out of the office for a couple of days, so there will be a ...
4 years, 8 months ago (2016-04-11 17:24:17 UTC) #11
jsbell
https://codereview.chromium.org/1862453003/diff/1/third_party/WebKit/LayoutTests/fast/encoding/api/textencoder-labels-expected.txt File third_party/WebKit/LayoutTests/fast/encoding/api/textencoder-labels-expected.txt (right): https://codereview.chromium.org/1862453003/diff/1/third_party/WebKit/LayoutTests/fast/encoding/api/textencoder-labels-expected.txt#newcode50 third_party/WebKit/LayoutTests/fast/encoding/api/textencoder-labels-expected.txt:50: FAIL "utf-16be" => "utf-16be" Failed to construct 'TextEncoder': The ...
4 years, 8 months ago (2016-04-13 17:52:35 UTC) #12
lpan
PTAL before I rebase to get the new imported tests. > That test becomes meaningless ...
4 years, 8 months ago (2016-04-18 14:14:36 UTC) #15
jsbell
Sorry about my lack of activity - I owe you replies here, and will get ...
4 years, 7 months ago (2016-04-26 22:57:00 UTC) #16
jsbell
https://codereview.chromium.org/1862453003/diff/60001/third_party/WebKit/LayoutTests/fast/encoding/api/utf-round-trip.html File third_party/WebKit/LayoutTests/fast/encoding/api/utf-round-trip.html (right): https://codereview.chromium.org/1862453003/diff/60001/third_party/WebKit/LayoutTests/fast/encoding/api/utf-round-trip.html#newcode33 third_party/WebKit/LayoutTests/fast/encoding/api/utf-round-trip.html:33: nit: remove this extra whitespace; one or two blank ...
4 years, 7 months ago (2016-05-02 20:20:07 UTC) #17
lpan
I ran rebase-update a few days ago. My apologies since there are still outstanding comments. ...
4 years, 7 months ago (2016-05-03 13:42:01 UTC) #18
jsbell
https://codereview.chromium.org/1862453003/diff/60001/third_party/WebKit/LayoutTests/fast/encoding/api/utf-round-trip.html File third_party/WebKit/LayoutTests/fast/encoding/api/utf-round-trip.html (right): https://codereview.chromium.org/1862453003/diff/60001/third_party/WebKit/LayoutTests/fast/encoding/api/utf-round-trip.html#newcode35 third_party/WebKit/LayoutTests/fast/encoding/api/utf-round-trip.html:35: utf_encodings.forEach(function(encoding) { On 2016/05/03 13:42:00, lpan wrote: > On ...
4 years, 7 months ago (2016-05-03 22:22:49 UTC) #19
lpan
I'm very sorry for going AWOL on you. This bug fix sorta fell to the ...
4 years, 6 months ago (2016-05-31 13:09:12 UTC) #20
jsbell
On 2016/05/31 13:09:12, lpan wrote: > 3. The imported tests in third_party\WebKit\LayoutTests\ have disappeared > ...
4 years, 6 months ago (2016-05-31 16:53:17 UTC) #22
lpan
On 2016/05/31 16:53:17, jsbell wrote: > On 2016/05/31 13:09:12, lpan wrote: > > > 3. ...
4 years, 6 months ago (2016-06-02 14:07:20 UTC) #23
lpan
On 2016/06/02 14:07:20, lpan wrote: > On 2016/05/31 16:53:17, jsbell wrote: > > On 2016/05/31 ...
4 years, 6 months ago (2016-06-06 14:50:01 UTC) #24
lpan
> PTAL before we move any further. *At the current patchset (#3)
4 years, 6 months ago (2016-06-06 14:51:31 UTC) #25
jsbell
Code and non-imported test changes still l*g*t*m. > > Tests in imported/wpt/encoding/: > api-basics.html - ...
4 years, 6 months ago (2016-06-07 20:35:13 UTC) #26
jsbell
On 2016/06/07 20:35:13, jsbell (OOO until 6-20) wrote: > > api-surrogate-utf8.html - still calls the ...
4 years, 6 months ago (2016-06-17 09:09:13 UTC) #27
lpan
for Patch Set 5 > Merged this - now we need to do a wpt ...
4 years, 6 months ago (2016-06-20 11:24:51 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862453003/160001
4 years, 6 months ago (2016-06-20 18:54:01 UTC) #31
jsbell
On 2016/06/20 11:24:51, lpan wrote: > I don't know what the workflow looks like with ...
4 years, 6 months ago (2016-06-20 18:54:46 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/249085)
4 years, 6 months ago (2016-06-20 20:21:12 UTC) #34
lpan
On 2016/06/20 20:21:12, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 6 months ago (2016-06-23 10:53:33 UTC) #35
lpan
On 2016/06/23 10:53:33, lpan wrote: > On 2016/06/20 20:21:12, commit-bot: I haz the power wrote: ...
4 years, 6 months ago (2016-06-23 11:00:26 UTC) #36
jsbell
On 2016/06/23 11:00:26, lpan wrote: > On 2016/06/23 10:53:33, lpan wrote: > > On 2016/06/20 ...
4 years, 6 months ago (2016-06-23 19:14:12 UTC) #37
jsbell
lgtm
4 years, 6 months ago (2016-06-23 19:16:15 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862453003/160001
4 years, 6 months ago (2016-06-23 19:17:03 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/249274)
4 years, 6 months ago (2016-06-23 20:34:02 UTC) #42
jsbell
On 2016/06/23 20:34:02, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-23 22:44:15 UTC) #44
jbroman
On 2016/06/23 at 22:44:15, jsbell wrote: > On 2016/06/23 20:34:02, commit-bot: I haz the power ...
4 years, 6 months ago (2016-06-23 22:50:02 UTC) #45
jsbell
Okay - I was hoping this was maybe obsolete. :) Thanks for clarifying jbroman@! Since ...
4 years, 6 months ago (2016-06-23 22:53:39 UTC) #46
lpan
On 2016/06/23 22:53:39, jsbell wrote: > Okay - I was hoping this was maybe obsolete. ...
4 years, 5 months ago (2016-06-24 13:05:52 UTC) #47
jsbell
On 2016/06/24 13:05:52, lpan wrote: > Done - added encode_utf16() to the compositor test. Ran ...
4 years, 5 months ago (2016-06-24 15:28:37 UTC) #48
lpan
On 2016/06/24 15:28:37, jsbell (OOO until July 7) wrote: > On 2016/06/24 13:05:52, lpan wrote: ...
4 years, 5 months ago (2016-06-24 22:11:25 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1862453003/200001
4 years, 5 months ago (2016-07-07 16:50:28 UTC) #52
jsbell
still lgtm, thanks for your patience (I've been on vacation)
4 years, 5 months ago (2016-07-07 16:53:35 UTC) #53
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/32641)
4 years, 5 months ago (2016-07-07 17:00:57 UTC) #55
lpan
On 2016/07/07 16:53:35, jsbell (OOO until July 7) wrote: > still lgtm, thanks for your ...
4 years, 5 months ago (2016-07-08 15:38:06 UTC) #56
jsbell
On 2016/07/08 15:38:06, lpan wrote: > On 2016/07/07 16:53:35, jsbell (OOO until July 7) wrote: ...
4 years, 5 months ago (2016-07-08 16:32:44 UTC) #57
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/1862453003/200001
4 years, 5 months ago (2016-07-08 16:33:19 UTC) #59
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 5 months ago (2016-07-08 16:45:01 UTC) #61
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 16:45:19 UTC) #62
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 16:47:04 UTC) #64
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4e0d49e0a7223958ebad85a98172ec1a8090c635
Cr-Commit-Position: refs/heads/master@{#404410}

Powered by Google App Engine
This is Rietveld 408576698