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

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

Issue 253843002: Deprecate Attr.nodeValue / Attr.textContent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline more tests Created 6 years, 7 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 | Annotate | Revision Log
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
11 PASS attr.prefix is null 11 PASS attr.prefix is null
12 PASS attr.nodeValue is ''
13 PASS attr.value is '' 12 PASS attr.value is ''
14 Attribute creation using createElement on an XHTML doc: 13 Attribute creation using createElement on an XHTML doc:
15 PASS attr.nodeName is 'foo' 14 PASS attr.nodeName is 'foo'
16 PASS attr.name is 'foo' 15 PASS attr.name is 'foo'
17 FAIL attr.localName should be null (of type object). Was foo (of type string). 16 FAIL attr.localName should be null (of type object). Was foo (of type string).
18 PASS attr.namespaceURI is null 17 PASS attr.namespaceURI is null
19 PASS attr.prefix is null 18 PASS attr.prefix is null
20 PASS attr.nodeValue is ''
21 PASS attr.value is '' 19 PASS attr.value is ''
22 PASS comment.nodeName is '#comment' 20 PASS comment.nodeName is '#comment'
23 PASS comment.localName is null 21 PASS comment.localName is null
24 PASS comment.namespaceURI is null 22 PASS comment.namespaceURI is null
25 PASS comment.nodeValue is 'foo' 23 PASS comment.nodeValue is 'foo'
26 PASS comment.data is 'foo' 24 PASS comment.data is 'foo'
27 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile d to execute 'createCDATASection' on 'Document': This operation is not supported for HTML documents.. 25 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile d to execute 'createCDATASection' on 'Document': This operation is not supported for HTML documents..
28 PASS cdata.nodeName is '#cdata-section' 26 PASS cdata.nodeName is '#cdata-section'
29 PASS cdata.localName is null 27 PASS cdata.localName is null
30 PASS cdata.namespaceURI is null 28 PASS cdata.namespaceURI is null
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 Text node creation using createTextNode on an HTML doc: 107 Text node creation using createTextNode on an HTML doc:
110 PASS text.nodeName is '#text' 108 PASS text.nodeName is '#text'
111 PASS text.localName is null 109 PASS text.localName is null
112 PASS text.namespaceURI is null 110 PASS text.namespaceURI is null
113 PASS text.nodeValue is 'foo' 111 PASS text.nodeValue is 'foo'
114 PASS text.data is 'foo' 112 PASS text.data is 'foo'
115 PASS successfullyParsed is true 113 PASS successfullyParsed is true
116 114
117 TEST COMPLETE 115 TEST COMPLETE
118 116
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698