Index: LayoutTests/fast/dom/Text/text-constructor.html |
diff --git a/LayoutTests/fast/dom/Text/text-constructor.html b/LayoutTests/fast/dom/Text/text-constructor.html |
index 576f8da095691bc269b1be7876d84d36d76e7c99..4fb27c36d18aed90650a7a4bddb16377298c5248 100644 |
--- a/LayoutTests/fast/dom/Text/text-constructor.html |
+++ b/LayoutTests/fast/dom/Text/text-constructor.html |
@@ -7,6 +7,8 @@ description('This tests that Text is constructable.'); |
shouldBe('new Text("one").data', '"one"'); |
shouldBe('new Text().data', '""'); |
+shouldBe('new Text(undefined).data', '""'); |
+shouldBe('new Text(null).data', '"null"'); |
shouldBe('new Text("two").ownerDocument', 'document'); |
shouldBe('typeof new Text', '"object"'); |