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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-doctype.html

Issue 2667303004: Move tests for DOMParser and XMLSerializer to dom/domparsing/. (Closed)
Patch Set: Created 3 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: third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-doctype.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-doctype.html b/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-doctype.html
deleted file mode 100644
index c4e984bfe1560fb684bf2c5a810501cf810f8aed..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-doctype.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
- <script>
- function debug(str) {
- li = document.createElement('li');
- li.appendChild(document.createTextNode(str));
- document.getElementById('console').appendChild(li);
- }
-
- function runTests() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- }
-
- var docType = window.document.implementation.createDocumentType("aDocTypeName", "aPublicID", "aSystemID");
- var doc = window.document.implementation.createDocument("", "", docType);
-
- var serializer = new XMLSerializer();
-
- var result = serializer.serializeToString(docType);
- if (result == '<!DOCTYPE aDocTypeName PUBLIC "aPublicID" "aSystemID">')
- debug('PASS: the DocumentType node has been successfully serialize to "' + result + '".');
- else
- debug('FAIL: the DocumentType node has not been successfully serialized.');
- }
- </script>
-</head>
-<body onload="runTests()">
-This tests XMLSerializer.serializeToString() on a DocumentType node that has a document associated with it.
-<ul id="console">
-</ul>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698