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

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: Add missing test 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..95e892976f6b961b218aa0282a8964959f29bf66 100644
--- a/LayoutTests/fast/dom/XMLSerializer-doctype2-expected.txt
+++ b/LayoutTests/fast/dom/XMLSerializer-doctype2-expected.txt
@@ -1,2 +1,2 @@
-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.
+PASS: XMLSerializer.serializeToString() serialized the newly created DocumentType node without throwing.

Powered by Google App Engine
This is Rietveld 408576698