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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-entities-2.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-entities-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-entities-2.html b/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-entities-2.html
deleted file mode 100644
index 82542709f50a5a3c3e73bb19240523bdd669a126..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-entities-2.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!doctype html>
-<title>XMLSerializer serializes entities to XML-compatible format</title>
-<script src=../../resources/testharness.js></script>
-<script src=../../resources/testharnessreport.js></script>
-<div id=log></div>
-<script>
-test(function() {
- var s = '<svg xmlns="http://www.w3.org/2000/svg">\u00a0</svg>';
- var svgDoc = new DOMParser().parseFromString(s, 'text/xml');
- var svgRoot = svgDoc.removeChild(svgDoc.firstChild);
- var result1 = new XMLSerializer().serializeToString(svgRoot);
- document.body.appendChild(svgRoot);
- var result2 = new XMLSerializer().serializeToString(svgRoot);
- document.body.removeChild(svgRoot);
- assert_equals(result1, result2);
-}, 'XMLSerializer: Serializes entities to XML-compatible format regardless of ownerDocument.');
-</script>

Powered by Google App Engine
This is Rietveld 408576698