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

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

Issue 1254243002: Remove Node.localName and Node.namespaceURI (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix layout test failure Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Node/script-tests/initial-values.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test creation of each type of Node and check intial values 1 Test creation of each type of Node and check intial values
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Attribute creation using createElement on an HTML doc: 6 Attribute creation using createElement on an HTML doc:
7 PASS attr.nodeName is 'foo' 7 PASS attr.nodeName is 'foo'
8 PASS attr.name is 'foo' 8 PASS attr.name is 'foo'
9 FAIL attr.localName should be null (of type object). Was foo (of type string). 9 FAIL attr.localName should be null (of type object). Was foo (of type string).
10 PASS attr.namespaceURI is null 10 PASS attr.namespaceURI is null
(...skipping 16 matching lines...) Expand all
27 PASS attr.value is '' 27 PASS attr.value is ''
28 Attribute creation using createElementNS on an XHTML doc: 28 Attribute creation using createElementNS on an XHTML doc:
29 PASS attr.nodeName is 'example:foo' 29 PASS attr.nodeName is 'example:foo'
30 PASS attr.name is 'example:foo' 30 PASS attr.name is 'example:foo'
31 PASS attr.localName is 'foo' 31 PASS attr.localName is 'foo'
32 PASS attr.namespaceURI is 'http://www.example.com' 32 PASS attr.namespaceURI is 'http://www.example.com'
33 PASS attr.prefix is 'example' 33 PASS attr.prefix is 'example'
34 PASS attr.nodeValue is '' 34 PASS attr.nodeValue is ''
35 PASS attr.value is '' 35 PASS attr.value is ''
36 PASS comment.nodeName is '#comment' 36 PASS comment.nodeName is '#comment'
37 PASS comment.localName is null 37 PASS comment.localName is undefined
38 PASS comment.namespaceURI is null 38 PASS comment.namespaceURI is undefined
39 PASS comment.nodeValue is 'foo' 39 PASS comment.nodeValue is 'foo'
40 PASS comment.data is 'foo' 40 PASS comment.data is 'foo'
41 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile d to execute 'createCDATASection' on 'Document': This operation is not supported for HTML documents.. 41 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile d to execute 'createCDATASection' on 'Document': This operation is not supported for HTML documents..
42 PASS cdata.nodeName is '#cdata-section' 42 PASS cdata.nodeName is '#cdata-section'
43 PASS cdata.localName is null 43 PASS cdata.localName is undefined
44 PASS cdata.namespaceURI is null 44 PASS cdata.namespaceURI is undefined
45 PASS cdata.nodeValue is 'foo' 45 PASS cdata.nodeValue is 'foo'
46 PASS cdata.data is 'foo' 46 PASS cdata.data is 'foo'
47 PASS fragment.nodeName is '#document-fragment' 47 PASS fragment.nodeName is '#document-fragment'
48 PASS fragment.localName is null 48 PASS fragment.localName is undefined
49 PASS fragment.namespaceURI is null 49 PASS fragment.namespaceURI is undefined
50 PASS fragment.nodeValue is null 50 PASS fragment.nodeValue is null
51 PASS doc.nodeName is '#document' 51 PASS doc.nodeName is '#document'
52 PASS doc.localName is null 52 PASS doc.localName is undefined
53 FAIL doc.namespaceURI should be http://www.w3.org/1999/xhtml (of type string). W as null (of type object). 53 PASS doc.namespaceURI is undefined
54 PASS doc.nodeValue is null 54 PASS doc.nodeValue is null
55 PASS doctype.nodeName is 'svg' 55 PASS doctype.nodeName is 'svg'
56 PASS doctype.name is 'svg' 56 PASS doctype.name is 'svg'
57 PASS doctype.localName is null 57 PASS doctype.localName is undefined
58 PASS doctype.namespaceURI is null 58 PASS doctype.namespaceURI is undefined
59 PASS doctype.nodeValue is null 59 PASS doctype.nodeValue is null
60 Element creation using createElement on an HTML doc: 60 Element creation using createElement on an HTML doc:
61 PASS element.nodeName is 'PRE' 61 PASS element.nodeName is 'PRE'
62 FAIL element.localName should be null (of type object). Was pre (of type string) . 62 FAIL element.localName should be null (of type object). Was pre (of type string) .
63 FAIL element.namespaceURI should be null (of type object). Was http://www.w3.org /1999/xhtml (of type string). 63 FAIL element.namespaceURI should be null (of type object). Was http://www.w3.org /1999/xhtml (of type string).
64 PASS element.prefix is null 64 PASS element.prefix is null
65 PASS element.nodeValue is null 65 PASS element.nodeValue is null
66 PASS element.attributes.toString() is '[object NamedNodeMap]' 66 PASS element.attributes.toString() is '[object NamedNodeMap]'
67 Prefixed element creation using createElementNS on an HTML doc: 67 Prefixed element creation using createElementNS on an HTML doc:
68 PASS element.nodeName is 'HTML:PRE' 68 PASS element.nodeName is 'HTML:PRE'
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 PASS element.attributes.toString() is '[object NamedNodeMap]' 101 PASS element.attributes.toString() is '[object NamedNodeMap]'
102 Element creation using createElementNS on an XHTML doc: 102 Element creation using createElementNS on an XHTML doc:
103 PASS element.nodeName is 'html:pre' 103 PASS element.nodeName is 'html:pre'
104 PASS element.localName is 'pre' 104 PASS element.localName is 'pre'
105 PASS element.namespaceURI is 'http://www.w3.org/1999/xhtml' 105 PASS element.namespaceURI is 'http://www.w3.org/1999/xhtml'
106 PASS element.prefix is 'html' 106 PASS element.prefix is 'html'
107 PASS element.nodeValue is null 107 PASS element.nodeValue is null
108 PASS element.attributes.toString() is '[object NamedNodeMap]' 108 PASS element.attributes.toString() is '[object NamedNodeMap]'
109 Processing instruction creation using createProcessingInstruction on an HTML doc : 109 Processing instruction creation using createProcessingInstruction on an HTML doc :
110 PASS processingInstruction.nodeName is 'xml-stylesheet' 110 PASS processingInstruction.nodeName is 'xml-stylesheet'
111 PASS processingInstruction.localName is null 111 PASS processingInstruction.localName is undefined
112 PASS processingInstruction.namespaceURI is null 112 PASS processingInstruction.namespaceURI is undefined
113 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' 113 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"'
114 PASS processingInstruction.target is 'xml-stylesheet' 114 PASS processingInstruction.target is 'xml-stylesheet'
115 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' 115 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"'
116 Processing instruction creation using createProcessingInstruction on an XHTML do c: 116 Processing instruction creation using createProcessingInstruction on an XHTML do c:
117 PASS processingInstruction.nodeName is 'xml-stylesheet' 117 PASS processingInstruction.nodeName is 'xml-stylesheet'
118 PASS processingInstruction.localName is null 118 PASS processingInstruction.localName is undefined
119 PASS processingInstruction.namespaceURI is null 119 PASS processingInstruction.namespaceURI is undefined
120 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"' 120 PASS processingInstruction.nodeValue is 'type="text/xsl" href="missing.xsl"'
121 PASS processingInstruction.target is 'xml-stylesheet' 121 PASS processingInstruction.target is 'xml-stylesheet'
122 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"' 122 PASS processingInstruction.data is 'type="text/xsl" href="missing.xsl"'
123 Text node creation using createTextNode on an HTML doc: 123 Text node creation using createTextNode on an HTML doc:
124 PASS text.nodeName is '#text' 124 PASS text.nodeName is '#text'
125 PASS text.localName is null 125 PASS text.localName is undefined
126 PASS text.namespaceURI is null 126 PASS text.namespaceURI is undefined
127 PASS text.nodeValue is 'foo' 127 PASS text.nodeValue is 'foo'
128 PASS text.data is 'foo' 128 PASS text.data is 'foo'
129 PASS successfullyParsed is true 129 PASS successfullyParsed is true
130 130
131 TEST COMPLETE 131 TEST COMPLETE
132 132
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Node/script-tests/initial-values.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698