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

Unified Diff: LayoutTests/fast/dom/Node/script-tests/initial-values.js

Issue 158593003: Remove Unused measure DocumentCreateAttributeNS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/Node/script-tests/initial-values.js
diff --git a/LayoutTests/fast/dom/Node/script-tests/initial-values.js b/LayoutTests/fast/dom/Node/script-tests/initial-values.js
index 9d235b99c9de3842b1472537418892707df32585..d4f1b0d488343bc7513082e4e1cdcdb3571244d6 100644
--- a/LayoutTests/fast/dom/Node/script-tests/initial-values.js
+++ b/LayoutTests/fast/dom/Node/script-tests/initial-values.js
@@ -14,16 +14,6 @@ shouldBe("attr.prefix", "null");
shouldBe("attr.nodeValue", "''");
shouldBe("attr.value", "''");
-debug("Attribute creation using createElementNS on an HTML doc:")
-attr = document.createAttributeNS("http://www.example.com", "example:foo");
-shouldBe("attr.nodeName", "'example:foo'");
-shouldBe("attr.name", "'example:foo'");
-shouldBe("attr.localName", "'foo'");
-shouldBe("attr.namespaceURI", "'http://www.example.com'");
-shouldBe("attr.prefix", "'example'");
-shouldBe("attr.nodeValue", "''");
-shouldBe("attr.value", "''");
-
debug("Attribute creation using createElement on an XHTML doc:")
attr = xmlDoc.createAttribute("foo");
shouldBe("attr.nodeName", "'foo'");
@@ -36,16 +26,6 @@ shouldBe("attr.prefix", "null");
shouldBe("attr.nodeValue", "''");
shouldBe("attr.value", "''");
-debug("Attribute creation using createElementNS on an XHTML doc:")
-attr = xmlDoc.createAttributeNS("http://www.example.com", "example:foo");
-shouldBe("attr.nodeName", "'example:foo'");
-shouldBe("attr.name", "'example:foo'");
-shouldBe("attr.localName", "'foo'");
-shouldBe("attr.namespaceURI", "'http://www.example.com'");
-shouldBe("attr.prefix", "'example'");
-shouldBe("attr.nodeValue", "''");
-shouldBe("attr.value", "''");
-
var comment = document.createComment("foo");
shouldBe("comment.nodeName", "'#comment'");
shouldBe("comment.localName", "null");
« no previous file with comments | « LayoutTests/fast/dom/Node/initial-values-expected.txt ('k') | LayoutTests/fast/dom/coreDOM-element-attribute-js-null.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698