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

Unified Diff: LayoutTests/fast/dom/Comment/comment-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/Comment/comment-constructor-expected.txt
diff --git a/LayoutTests/fast/dom/Comment/comment-constructor-expected.txt b/LayoutTests/fast/dom/Comment/comment-constructor-expected.txt
index e8daa4d4b75e45a69274dab2c7a15986c5ce7453..88a864a037d9bc25ee9cb2ebf8b4cbb18c94ae84 100644
--- a/LayoutTests/fast/dom/Comment/comment-constructor-expected.txt
+++ b/LayoutTests/fast/dom/Comment/comment-constructor-expected.txt
@@ -5,6 +5,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS new Comment("one").data is "one"
PASS new Comment().data is ""
+PASS new Comment(undefined).data is ""
+PASS new Comment(null).data is "null"
PASS new Comment("two").ownerDocument is document
PASS typeof new Comment is "object"
PASS Object.prototype.toString.call(new Comment) is "[object Comment]"

Powered by Google App Engine
This is Rietveld 408576698