aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/encoding/textencoder-constructor-non-utf.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/encoding/textencoder-constructor-non-utf.any.js')
-rw-r--r--tests/wpt/web-platform-tests/encoding/textencoder-constructor-non-utf.any.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/wpt/web-platform-tests/encoding/textencoder-constructor-non-utf.any.js b/tests/wpt/web-platform-tests/encoding/textencoder-constructor-non-utf.any.js
deleted file mode 100644
index c7136da4dce..00000000000
--- a/tests/wpt/web-platform-tests/encoding/textencoder-constructor-non-utf.any.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// META: title=Encoding API: Legacy encodings
-// META: script=resources/encodings.js
-
-encodings_table.forEach(function(section) {
- section.encodings.forEach(function(encoding) {
- if (encoding.name !== 'replacement') {
- test(function() {
- assert_equals(new TextDecoder(encoding.name).encoding, encoding.name.toLowerCase()); // ASCII names only, so safe
- }, 'Encoding argument supported for decode: ' + encoding.name);
- }
-
- test(function() {
- assert_equals(new TextEncoder(encoding.name).encoding, 'utf-8');
- }, 'Encoding argument not considered for encode: ' + encoding.name);
- });
-});