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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-double-xmlns.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-double-xmlns.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-double-xmlns.html b/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-double-xmlns.html
deleted file mode 100644
index b15fb1b9ee53ec334af6da7c2549577f2c387a04..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/XMLSerializer-double-xmlns.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/js-test.js"></script>
-<script>
-description("Checks that attributes created setAttributeNS() don't cause two identical xmlns attributes to be serialized");
-window.doc = (new DOMParser()).parseFromString('<test/>', 'text/xml');
-doc.documentElement.setAttributeNS('http://www.example.com', 'ns:attr', 'value');
-doc.documentElement.setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:ns', 'http://www.example.com');
-
-// Check the DOM construction.
-shouldBe('doc.documentElement.getAttributeNS("http://www.example.com", "attr")', '"value"');
-
-window.xmlText = (new XMLSerializer()).serializeToString(doc); // exported for debugging
-window.parsedDoc = (new DOMParser()).parseFromString(xmlText, 'text/xml');
-
-// Check the serialization result.
-shouldBe('parsedDoc.documentElement.getAttributeNS("http://www.example.com", "attr")', '"value"');
-</script>

Powered by Google App Engine
This is Rietveld 408576698