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

Unified Diff: LayoutTests/fast/dom/XMLSerializer-doctype2-expected.txt

Issue 22880019: [DOM4] Doctypes now always have a node document and can be moved across document boundaries (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Improve tests Created 7 years, 4 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/XMLSerializer-doctype2-expected.txt
diff --git a/LayoutTests/fast/dom/XMLSerializer-doctype2-expected.txt b/LayoutTests/fast/dom/XMLSerializer-doctype2-expected.txt
index ec70ac0b89997f1acd099b8fbb34e9004f176fc9..3104b5db83c40056fd85b2367c4a8444e48bf9b3 100644
--- a/LayoutTests/fast/dom/XMLSerializer-doctype2-expected.txt
+++ b/LayoutTests/fast/dom/XMLSerializer-doctype2-expected.txt
@@ -1,2 +1,8 @@
-This tests XMLSerializer.serializeToString() on a DocumentType node that does not have a document associated with it. It should throw an INVALID_ACCESS_ERR DOMException.
-PASS: an InvalidAccessError: A parameter or an operation was not supported by the underlying object. was thrown as expected.
+This tests XMLSerializer.serializeToString() on a newly created DocumentType node does not throw since the node has an associated document.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS text = serializer.serializeToString(docType) did not throw exception.
+PASS text is "<!DOCTYPE aDocTypeName PUBLIC \"aPublicID\" \"aSystemID\">"
+
« no previous file with comments | « LayoutTests/fast/dom/XMLSerializer-doctype2.html ('k') | LayoutTests/fast/dom/createDocumentType-ownerDocument.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698