Index: LayoutTests/fast/encoding/api/basics.html |
diff --git a/LayoutTests/fast/encoding/api/basics.html b/LayoutTests/fast/encoding/api/basics.html |
index 15b45a51edb6f226df45036735bf7c7c79d24bf5..a58796b52a75ce824a9df8f70affe6b50c7b9289 100644 |
--- a/LayoutTests/fast/encoding/api/basics.html |
+++ b/LayoutTests/fast/encoding/api/basics.html |
@@ -24,6 +24,7 @@ test(function() { |
assert_equals((new TextDecoder).encoding, 'utf-8', 'default encoding is utf-8'); |
assert_array_equals(new TextEncoder().encode(), [], 'input default should be empty string') |
+ assert_array_equals(new TextEncoder().encode(undefined), [], 'input default should be empty string') |
function testEncodeDecodeSample(encoding, string, bytes) { |
var encoded = new TextEncoder(encoding).encode(string); |