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

Unified Diff: LayoutTests/fast/dom/Text/text-constructor-expected.txt

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/dom/Text/text-constructor-expected.txt
diff --git a/LayoutTests/fast/dom/Text/text-constructor-expected.txt b/LayoutTests/fast/dom/Text/text-constructor-expected.txt
index f5217cdbf4a8bb7b2998db76124f4b37728daa2a..2effaecb3add3d8cd97dedf0012c5587426a51c9 100644
--- a/LayoutTests/fast/dom/Text/text-constructor-expected.txt
+++ b/LayoutTests/fast/dom/Text/text-constructor-expected.txt
@@ -5,6 +5,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS new Text("one").data is "one"
PASS new Text().data is ""
+PASS new Text(undefined).data is ""
+PASS new Text(null).data is "null"
PASS new Text("two").ownerDocument is document
PASS typeof new Text is "object"
PASS Object.prototype.toString.call(new Text) is "[object Text]"
« no previous file with comments | « LayoutTests/fast/dom/Text/text-constructor.html ('k') | LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698