OLD | NEW |
1 This test checks that all but a handful of dom constructors throw exceptions, an
d the rest return reasonable objects. It also tests that those constructors have
higher precedence than a document element with the same ID or name. | 1 This test checks that all but a handful of dom constructors throw exceptions, an
d the rest return reasonable objects. It also tests that those constructors have
higher precedence than a document element with the same ID or name. |
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 PASS TryAllocate('Attr') is 'exception' | 6 PASS TryAllocate('Attr') is 'exception' |
7 PASS TryAllocate('CharacterData') is 'exception' | 7 PASS TryAllocate('CharacterData') is 'exception' |
8 PASS TryAllocate('CDATASection') is 'exception' | 8 PASS TryAllocate('CDATASection') is 'exception' |
9 PASS TryAllocate('Document') is 'exception' | 9 PASS TryAllocate('Document') is 'exception' |
10 PASS TryAllocate('DocumentType') is 'exception' | 10 PASS TryAllocate('DocumentType') is 'exception' |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 FAIL TryAllocate('BarInfo') should be exception. Was no constructor. | 104 FAIL TryAllocate('BarInfo') should be exception. Was no constructor. |
105 PASS TryAllocate('CanvasGradient') is 'exception' | 105 PASS TryAllocate('CanvasGradient') is 'exception' |
106 PASS TryAllocate('CanvasPattern') is 'exception' | 106 PASS TryAllocate('CanvasPattern') is 'exception' |
107 FAIL TryAllocate('Console') should be exception. Was no constructor. | 107 FAIL TryAllocate('Console') should be exception. Was no constructor. |
108 PASS TryAllocate('Selection') is 'exception' | 108 PASS TryAllocate('Selection') is 'exception' |
109 PASS TryAllocate('Window') is 'exception' | 109 PASS TryAllocate('Window') is 'exception' |
110 PASS TryAllocate('History') is 'exception' | 110 PASS TryAllocate('History') is 'exception' |
111 PASS TryAllocate('HTMLOptionsCollection') is 'exception' | 111 PASS TryAllocate('HTMLOptionsCollection') is 'exception' |
112 PASS TryAllocate('Location') is 'exception' | 112 PASS TryAllocate('Location') is 'exception' |
113 PASS TryAllocate('Navigator') is 'exception' | 113 PASS TryAllocate('Navigator') is 'exception' |
114 FAIL TryAllocate('NodeIterator') should be exception. Was no constructor. | 114 PASS TryAllocate('NodeIterator') is 'exception' |
115 PASS TryAllocate('RGBColor') is 'exception' | 115 PASS TryAllocate('RGBColor') is 'exception' |
116 PASS TryAllocate('Screen') is 'exception' | 116 PASS TryAllocate('Screen') is 'exception' |
117 FAIL TryAllocate('TreeWalker') should be exception. Was no constructor. | 117 FAIL TryAllocate('TreeWalker') should be exception. Was no constructor. |
118 FAIL TryAllocate('XPathExpression') should be exception. Was no constructor. | 118 PASS TryAllocate('XPathExpression') is 'exception' |
119 PASS TryAllocate('Worker') is 'exception' | 119 PASS TryAllocate('Worker') is 'exception' |
120 PASS TryAllocate('EventTargetNode') is 'no constructor' | 120 PASS TryAllocate('EventTargetNode') is 'no constructor' |
121 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' | 121 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' |
122 PASS TryAllocate('XPathNSResolver') is 'no constructor' | 122 PASS TryAllocate('XPathNSResolver') is 'no constructor' |
123 PASS TryAllocate('EventTarget') is 'no constructor' | 123 PASS TryAllocate('EventTarget') is 'no constructor' |
124 PASS TryAllocate('EventListener') is 'no constructor' | 124 PASS TryAllocate('EventListener') is 'no constructor' |
125 PASS TryAllocate('NPObject') is 'no constructor' | 125 PASS TryAllocate('NPObject') is 'no constructor' |
126 PASS TryAllocate('Comment') is '[object Comment]' | 126 PASS TryAllocate('Comment') is '[object Comment]' |
127 PASS TryAllocate('Comment') is '[object Comment]' | 127 PASS TryAllocate('Comment') is '[object Comment]' |
128 PASS TryAllocate('Comment') is '[object Comment]' | 128 PASS TryAllocate('Comment') is '[object Comment]' |
(...skipping 27 matching lines...) Expand all Loading... |
156 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 156 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
157 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 157 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
158 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 158 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
159 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 159 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
160 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 160 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
161 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 161 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
162 PASS successfullyParsed is true | 162 PASS successfullyParsed is true |
163 | 163 |
164 TEST COMPLETE | 164 TEST COMPLETE |
165 | 165 |
OLD | NEW |