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

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

Issue 740223003: Revive tests for Document.createAttributeNS() and Element.setAttributeNodeNS() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deprecation messages Created 6 years, 1 month 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.value is '' 12 PASS attr.value is ''
13 Attribute creation using createElementNS on an HTML doc:
14 PASS attr.nodeName is 'example:foo'
15 PASS attr.name is 'example:foo'
16 PASS attr.localName is 'foo'
17 PASS attr.namespaceURI is 'http://www.example.com'
18 PASS attr.prefix is 'example'
19 PASS attr.nodeValue is ''
20 PASS attr.value is ''
13 Attribute creation using createElement on an XHTML doc: 21 Attribute creation using createElement on an XHTML doc:
14 PASS attr.nodeName is 'foo' 22 PASS attr.nodeName is 'foo'
15 PASS attr.name is 'foo' 23 PASS attr.name is 'foo'
16 FAIL attr.localName should be null (of type object). Was foo (of type string). 24 FAIL attr.localName should be null (of type object). Was foo (of type string).
17 PASS attr.namespaceURI is null 25 PASS attr.namespaceURI is null
18 PASS attr.prefix is null 26 PASS attr.prefix is null
19 PASS attr.value is '' 27 PASS attr.value is ''
28 Attribute creation using createElementNS on an XHTML doc:
29 PASS attr.nodeName is 'example:foo'
30 PASS attr.name is 'example:foo'
31 PASS attr.localName is 'foo'
32 PASS attr.namespaceURI is 'http://www.example.com'
33 PASS attr.prefix is 'example'
34 PASS attr.nodeValue is ''
35 PASS attr.value is ''
20 PASS comment.nodeName is '#comment' 36 PASS comment.nodeName is '#comment'
21 PASS comment.localName is null 37 PASS comment.localName is null
22 PASS comment.namespaceURI is null 38 PASS comment.namespaceURI is null
23 PASS comment.nodeValue is 'foo' 39 PASS comment.nodeValue is 'foo'
24 PASS comment.data is 'foo' 40 PASS comment.data is 'foo'
25 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..
26 PASS cdata.nodeName is '#cdata-section' 42 PASS cdata.nodeName is '#cdata-section'
27 PASS cdata.localName is null 43 PASS cdata.localName is null
28 PASS cdata.namespaceURI is null 44 PASS cdata.namespaceURI is null
29 PASS cdata.nodeValue is 'foo' 45 PASS cdata.nodeValue is 'foo'
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 Text node creation using createTextNode on an HTML doc: 123 Text node creation using createTextNode on an HTML doc:
108 PASS text.nodeName is '#text' 124 PASS text.nodeName is '#text'
109 PASS text.localName is null 125 PASS text.localName is null
110 PASS text.namespaceURI is null 126 PASS text.namespaceURI is null
111 PASS text.nodeValue is 'foo' 127 PASS text.nodeValue is 'foo'
112 PASS text.data is 'foo' 128 PASS text.data is 'foo'
113 PASS successfullyParsed is true 129 PASS successfullyParsed is true
114 130
115 TEST COMPLETE 131 TEST COMPLETE
116 132
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698