Index: LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html |
diff --git a/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html b/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html |
index 2c1abcc8b7956504bb945647c1838f14ebc8ee03..cc9e2173ed8e79c6e4a0e75bdd30666dfabab95e 100644 |
--- a/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html |
+++ b/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html |
@@ -4,9 +4,9 @@ |
description('This tests optional title for createHTMLDocument'); |
shouldBeNull('document.implementation.createHTMLDocument().querySelector("title")'); |
+shouldBeNull('document.implementation.createHTMLDocument(undefined).querySelector("title")'); |
shouldBeEqualToString('document.implementation.createHTMLDocument(null).querySelector("title").textContent', 'null'); |
-shouldBeEqualToString('document.implementation.createHTMLDocument(undefined).querySelector("title").textContent', 'undefined'); |
shouldBeEqualToString('document.implementation.createHTMLDocument("").querySelector("title").textContent', ''); |
shouldBeEqualToString('document.implementation.createHTMLDocument("x").querySelector("title").textContent', 'x'); |