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

Unified Diff: LayoutTests/fast/dom/implementation-createHTMLDocument.html

Issue 366883003: Make DOMImplementation.createHTMLDocument implementation more spec aligned (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take review comment into consideration Created 6 years, 6 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/implementation-createHTMLDocument.html
diff --git a/LayoutTests/fast/dom/implementation-createHTMLDocument.html b/LayoutTests/fast/dom/implementation-createHTMLDocument.html
index 50d453311a6c6c429fa54bbebc3d1b71aca82075..0686dfac467eb13f4acd9b34e53913de3acf9f1c 100644
--- a/LayoutTests/fast/dom/implementation-createHTMLDocument.html
+++ b/LayoutTests/fast/dom/implementation-createHTMLDocument.html
@@ -42,6 +42,7 @@ function test()
print("[document with title '']");
doc = document.implementation.createHTMLDocument("");
shouldBe("doc.title", "");
+ shouldBe("doc.getElementsByTagName('title').item(0).firstChild.data", "");
print("[document with null title]");
doc = document.implementation.createHTMLDocument(null);

Powered by Google App Engine
This is Rietveld 408576698