Index: LayoutTests/fast/dom/Node/initial-values-expected.txt |
diff --git a/LayoutTests/fast/dom/Node/initial-values-expected.txt b/LayoutTests/fast/dom/Node/initial-values-expected.txt |
index f52f0ba8c7322aec20e93dc538512b1790021d28..f21d4386e5eb73d69f0542a547ee9fd289969446 100644 |
--- a/LayoutTests/fast/dom/Node/initial-values-expected.txt |
+++ b/LayoutTests/fast/dom/Node/initial-values-expected.txt |
@@ -34,28 +34,28 @@ PASS attr.prefix is 'example' |
PASS attr.nodeValue is '' |
PASS attr.value is '' |
PASS comment.nodeName is '#comment' |
-PASS comment.localName is null |
-PASS comment.namespaceURI is null |
+PASS comment.localName is undefined |
+PASS comment.namespaceURI is undefined |
PASS comment.nodeValue is 'foo' |
PASS comment.data is 'foo' |
PASS document.createCDATASection('foo') threw exception NotSupportedError: Failed to execute 'createCDATASection' on 'Document': This operation is not supported for HTML documents.. |
PASS cdata.nodeName is '#cdata-section' |
-PASS cdata.localName is null |
-PASS cdata.namespaceURI is null |
+PASS cdata.localName is undefined |
+PASS cdata.namespaceURI is undefined |
PASS cdata.nodeValue is 'foo' |
PASS cdata.data is 'foo' |
PASS fragment.nodeName is '#document-fragment' |
-PASS fragment.localName is null |
-PASS fragment.namespaceURI is null |
+PASS fragment.localName is undefined |
+PASS fragment.namespaceURI is undefined |
PASS fragment.nodeValue is null |
PASS doc.nodeName is '#document' |
-PASS doc.localName is null |
-FAIL doc.namespaceURI should be http://www.w3.org/1999/xhtml (of type string). Was null (of type object). |
+PASS doc.localName is undefined |
+PASS doc.namespaceURI is undefined |
PASS doc.nodeValue is null |
PASS doctype.nodeName is 'svg' |
PASS doctype.name is 'svg' |
-PASS doctype.localName is null |
-PASS doctype.namespaceURI is null |
+PASS doctype.localName is undefined |
+PASS doctype.namespaceURI is undefined |
PASS doctype.nodeValue is null |
Element creation using createElement on an HTML doc: |
PASS element.nodeName is 'PRE' |
@@ -108,22 +108,22 @@ PASS element.nodeValue is null |
PASS element.attributes.toString() is '[object NamedNodeMap]' |
Processing instruction creation using createProcessingInstruction on an HTML doc: |
PASS processingInstruction.nodeName is 'xml-stylesheet' |
-PASS processingInstruction.localName is null |
-PASS processingInstruction.namespaceURI is null |
+PASS processingInstruction.localName is undefined |
+PASS processingInstruction.namespaceURI is undefined |
PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' |
PASS processingInstruction.target is 'xml-stylesheet' |
PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' |
Processing instruction creation using createProcessingInstruction on an XHTML doc: |
PASS processingInstruction.nodeName is 'xml-stylesheet' |
-PASS processingInstruction.localName is null |
-PASS processingInstruction.namespaceURI is null |
+PASS processingInstruction.localName is undefined |
+PASS processingInstruction.namespaceURI is undefined |
PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' |
PASS processingInstruction.target is 'xml-stylesheet' |
PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' |
Text node creation using createTextNode on an HTML doc: |
PASS text.nodeName is '#text' |
-PASS text.localName is null |
-PASS text.namespaceURI is null |
+PASS text.localName is undefined |
+PASS text.namespaceURI is undefined |
PASS text.nodeValue is 'foo' |
PASS text.data is 'foo' |
PASS successfullyParsed is true |