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

Unified Diff: LayoutTests/fast/dom/Node/initial-values-expected.txt

Issue 100433004: Sync Document.createProcessingInstruction() with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test createProcessingInstruction for HTML doc Created 7 years 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/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 d187e4b7faae52806867e52d186875701d2fe9a6..48e1659e7731adcaf63d7bf7401a79181e4083a8 100644
--- a/LayoutTests/fast/dom/Node/initial-values-expected.txt
+++ b/LayoutTests/fast/dom/Node/initial-values-expected.txt
@@ -113,7 +113,7 @@ PASS element.namespaceURI is 'http://www.w3.org/1999/xhtml'
PASS element.prefix is 'html'
PASS element.nodeValue is null
PASS element.attributes.toString() is '[object NamedNodeMap]'
-PASS document.createProcessingInstruction('xml-stylesheet', 'type="text/xsl" href="missing.xsl"') threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+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
@@ -121,6 +121,15 @@ PASS processingInstruction.prefix is null
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.prefix is null
+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

Powered by Google App Engine
This is Rietveld 408576698