diff options
author | Brian White <mscdex@mscdex.net> | 2018-07-25 00:53:55 -0400 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-07-27 21:03:11 +0200 |
commit | ce5157b22f8a644b86e9f740ae82c0fb482224e4 (patch) | |
tree | d62f642c169bc0fca8b2195dbb9e0afeee123207 /benchmark/util/normalize-encoding.js | |
parent | 10c850bdee0f98cf0a3def2065c87ec156843bbe (diff) | |
download | android-node-v8-ce5157b22f8a644b86e9f740ae82c0fb482224e4.tar.gz android-node-v8-ce5157b22f8a644b86e9f740ae82c0fb482224e4.tar.bz2 android-node-v8-ce5157b22f8a644b86e9f740ae82c0fb482224e4.zip |
lib: remove usc-2 encoding
Fixes: https://github.com/nodejs/node/issues/21963
PR-URL: https://github.com/nodejs/node/pull/21964
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'benchmark/util/normalize-encoding.js')
-rw-r--r-- | benchmark/util/normalize-encoding.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/benchmark/util/normalize-encoding.js b/benchmark/util/normalize-encoding.js index 65cf5b1b0c..73cbadff72 100644 --- a/benchmark/util/normalize-encoding.js +++ b/benchmark/util/normalize-encoding.js @@ -5,11 +5,11 @@ const assert = require('assert'); const groupedInputs = { group_common: ['undefined', 'utf8', 'utf-8', 'base64', - 'binary', 'latin1', 'ucs-2', 'usc-2'], + 'binary', 'latin1', 'ucs-2'], group_upper: ['UTF-8', 'UTF8', 'UCS2', 'UTF-16LE', - 'UTF16LE', 'BASE64', 'UCS-2', 'USC-2'], + 'UTF16LE', 'BASE64', 'UCS-2'], group_uncommon: ['foo', '1', 'false', 'undefined', '[]', '{}'], - group_misc: ['', 'utf16le', 'usc2', 'hex', 'HEX', 'BINARY'] + group_misc: ['', 'utf16le', 'hex', 'HEX', 'BINARY'] }; const inputs = [ @@ -17,9 +17,7 @@ const inputs = [ 'utf8', 'utf-8', 'UTF-8', 'UTF8', 'Utf8', 'uTf-8', 'utF-8', 'ucs2', 'UCS2', 'UcS2', - 'USC2', 'usc2', 'uSc2', 'ucs-2', 'UCS-2', 'UcS-2', - 'usc-2', 'USC-2', 'uSc-2', 'utf16le', 'utf-16le', 'UTF-16LE', 'UTF16LE', 'binary', 'BINARY', 'latin1', 'base64', 'BASE64', 'hex', 'HEX', 'foo', '1', 'false', 'undefined', '[]', '{}']; |