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 4c404b57b966c3af2cdd2bc0861f6e720de5234b..9d235b99c9de3842b1472537418892707df32585 100644 |
--- a/LayoutTests/fast/dom/Node/script-tests/initial-values.js |
+++ b/LayoutTests/fast/dom/Node/script-tests/initial-values.js |
@@ -50,7 +50,6 @@ var comment = document.createComment("foo"); |
shouldBe("comment.nodeName", "'#comment'"); |
shouldBe("comment.localName", "null"); |
shouldBe("comment.namespaceURI", "null"); |
-shouldBe("comment.prefix", "null"); |
shouldBe("comment.nodeValue", "'foo'"); |
shouldBe("comment.data", "'foo'"); |
@@ -59,7 +58,6 @@ var cdata = xmlDoc.createCDATASection("foo"); |
shouldBe("cdata.nodeName", "'#cdata-section'"); |
shouldBe("cdata.localName", "null"); |
shouldBe("cdata.namespaceURI", "null"); |
-shouldBe("cdata.prefix", "null"); |
shouldBe("cdata.nodeValue", "'foo'"); |
shouldBe("cdata.data", "'foo'"); |
@@ -67,7 +65,6 @@ var fragment = document.createDocumentFragment(); |
shouldBe("fragment.nodeName", "'#document-fragment'"); |
shouldBe("fragment.localName", "null"); |
shouldBe("fragment.namespaceURI", "null"); |
-shouldBe("fragment.prefix", "null"); |
shouldBe("fragment.nodeValue", "null"); |
var doc = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null); |
@@ -76,7 +73,6 @@ shouldBe("doc.localName", "null"); |
// Spec: http://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument |
// Currently both FF and WebKit return null here, disagreeing with the spec |
shouldBe("doc.namespaceURI", "'http://www.w3.org/1999/xhtml'"); |
-shouldBe("doc.prefix", "null"); |
shouldBe("doc.nodeValue", "null"); |
var doctype = document.implementation.createDocumentType("svg", "-//W3C//DTD SVG 1.1//EN", "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"); |
@@ -84,7 +80,6 @@ shouldBe("doctype.nodeName", "'svg'"); |
shouldBe("doctype.name", "'svg'"); |
shouldBe("doctype.localName", "null"); |
shouldBe("doctype.namespaceURI", "null"); |
-shouldBe("doctype.prefix", "null"); |
shouldBe("doctype.nodeValue", "null"); |
debug("Element creation using createElement on an HTML doc:") |
@@ -161,7 +156,6 @@ var processingInstruction = document.createProcessingInstruction('xml-stylesheet |
shouldBe("processingInstruction.nodeName", "'xml-stylesheet'"); |
shouldBe("processingInstruction.localName", "null"); |
shouldBe("processingInstruction.namespaceURI", "null"); |
-shouldBe("processingInstruction.prefix", "null"); |
// DOM Core Level 2 and DOM Core Level 3 disagree on ProcessingInstruction.nodeValue |
// L2: entire content excluding the target |
// L3: same as ProcessingInstruction.data |
@@ -175,7 +169,6 @@ processingInstruction = xmlDoc.createProcessingInstruction('xml-stylesheet', 'ty |
shouldBe("processingInstruction.nodeName", "'xml-stylesheet'"); |
shouldBe("processingInstruction.localName", "null"); |
shouldBe("processingInstruction.namespaceURI", "null"); |
-shouldBe("processingInstruction.prefix", "null"); |
shouldBe("processingInstruction.nodeValue", "'type=\"text/xsl\" href=\"missing.xsl\"'"); |
shouldBe("processingInstruction.target", "'xml-stylesheet'"); |
shouldBe("processingInstruction.data", "'type=\"text/xsl\" href=\"missing.xsl\"'"); |
@@ -185,6 +178,5 @@ var text = document.createTextNode("foo"); |
shouldBe("text.nodeName", "'#text'"); |
shouldBe("text.localName", "null"); |
shouldBe("text.namespaceURI", "null"); |
-shouldBe("text.prefix", "null"); |
shouldBe("text.nodeValue", "'foo'"); |
shouldBe("text.data", "'foo'"); |