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

Unified Diff: LayoutTests/fast/dom/document-set-title-no-child-on-empty-expected.txt

Issue 143363002: Don't create an empty text node when setting document.title to the empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix indentation in test Created 6 years, 11 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/document-set-title-no-child-on-empty-expected.txt
diff --git a/LayoutTests/fast/dom/document-set-title-no-child-on-empty-expected.txt b/LayoutTests/fast/dom/document-set-title-no-child-on-empty-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65d70125ec6a600c001fe36375085dc74105aa6b
--- /dev/null
+++ b/LayoutTests/fast/dom/document-set-title-no-child-on-empty-expected.txt
@@ -0,0 +1,13 @@
+On setting document.title to the empty string, no text node must be created
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.title is ""
+PASS document.title is ""
+PASS head.lastChild instanceof HTMLTitleElement is true
+PASS head.lastChild.firstChild is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/document-set-title-no-child-on-empty.html ('k') | Source/core/html/HTMLTitleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698