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

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

Issue 98543011: Improve Document exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 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
(...skipping 23 matching lines...) Expand all
34 PASS attr.namespaceURI is 'http://www.example.com' 34 PASS attr.namespaceURI is 'http://www.example.com'
35 PASS attr.prefix is 'example' 35 PASS attr.prefix is 'example'
36 PASS attr.nodeValue is '' 36 PASS attr.nodeValue is ''
37 PASS attr.value is '' 37 PASS attr.value is ''
38 PASS comment.nodeName is '#comment' 38 PASS comment.nodeName is '#comment'
39 PASS comment.localName is null 39 PASS comment.localName is null
40 PASS comment.namespaceURI is null 40 PASS comment.namespaceURI is null
41 PASS comment.prefix is null 41 PASS comment.prefix is null
42 PASS comment.nodeValue is 'foo' 42 PASS comment.nodeValue is 'foo'
43 PASS comment.data is 'foo' 43 PASS comment.data is 'foo'
44 PASS document.createCDATASection('foo') threw exception NotSupportedError: The i mplementation did not support the requested type of object or operation.. 44 PASS document.createCDATASection('foo') threw exception NotSupportedError: Faile d to execute 'createCDATASection' on 'Document': This is an HTML document, which does not allow CData sections..
45 PASS cdata.nodeName is '#cdata-section' 45 PASS cdata.nodeName is '#cdata-section'
46 PASS cdata.localName is null 46 PASS cdata.localName is null
47 PASS cdata.namespaceURI is null 47 PASS cdata.namespaceURI is null
48 PASS cdata.prefix is null 48 PASS cdata.prefix is null
49 PASS cdata.nodeValue is 'foo' 49 PASS cdata.nodeValue is 'foo'
50 PASS cdata.data is 'foo' 50 PASS cdata.data is 'foo'
51 PASS fragment.nodeName is '#document-fragment' 51 PASS fragment.nodeName is '#document-fragment'
52 PASS fragment.localName is null 52 PASS fragment.localName is null
53 PASS fragment.namespaceURI is null 53 PASS fragment.namespaceURI is null
54 PASS fragment.prefix is null 54 PASS fragment.prefix is null
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 PASS text.nodeName is '#text' 133 PASS text.nodeName is '#text'
134 PASS text.localName is null 134 PASS text.localName is null
135 PASS text.namespaceURI is null 135 PASS text.namespaceURI is null
136 PASS text.prefix is null 136 PASS text.prefix is null
137 PASS text.nodeValue is 'foo' 137 PASS text.nodeValue is 'foo'
138 PASS text.data is 'foo' 138 PASS text.data is 'foo'
139 PASS successfullyParsed is true 139 PASS successfullyParsed is true
140 140
141 TEST COMPLETE 141 TEST COMPLETE
142 142
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698