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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/namespaces-1.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/namespaces-1.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/namespaces-1.html b/third_party/WebKit/LayoutTests/fast/dom/namespaces-1.html
deleted file mode 100644
index d24b5feb3d83aee70ca3f2f540f1e1aa079838f8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/namespaces-1.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
-<head>
-<title>DOMParser namespace support</title>
-<script type="text/javascript">
-function execute()
-{
- if (window.testRunner) {
- testRunner.dumpAsText();
- }
-
- var parser = new DOMParser();
- var str =
- '<?xml version="1.0"?>\n<doc>\n <foo xmlns="foobar" id="1">One</foo> <x:bar xmlns:x="barfoo" id="2">Two</x:bar>\n <d id="3">Three</d>\n</doc>\n';
- var doc = parser.parseFromString(str,"text/xml");
-
- document.getElementById("id1").firstChild.nodeValue = str;
- document.getElementById("id2").firstChild.nodeValue = doc.getElementsByTagNameNS("foobar", "foo")[0].getAttribute("id");
- document.getElementById("id3").firstChild.nodeValue = doc.getElementsByTagNameNS("barfoo", "bar")[0].getAttribute("id");
- document.getElementById("id4").firstChild.nodeValue = doc.getElementsByTagNameNS("", "d")[0].getAttribute("id");
- document.getElementById("id5").firstChild.nodeValue = doc.getElementsByTagNameNS(null, "d")[0].getAttribute("id");
-}
-
-</script>
-</head>
-<body onload="execute();">
-
-<p>text to parse</p>
-<p id="id1">@@No result@@</p>
-<p>foobar:foo element</p>
-<p id="id2">@@No result@@</p>
-<p>barfoo:bar element</p>
-<p id="id3">@@No result@@</p>
-<p>d element (empty namespace)</p>
-<p id="id4">@@No result@@</p>
-<p>d element (null namespace)</p>
-<p id="id5">@@No result@@</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698