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

Unified Diff: LayoutTests/fast/encoding/api/basics.html

Issue 373043004: IDL: Treat undefined as missing for optional arguments with defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « LayoutTests/fast/dom/Window/custom-constructors-expected.txt ('k') | LayoutTests/fast/forms/resources/common-setrangetext.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698