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('Comment') is 'exception' | 9 PASS TryAllocate('Comment') is 'exception' |
10 PASS TryAllocate('Document') is 'exception' | 10 PASS TryAllocate('Document') is 'exception' |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 PASS TryAllocate('TextEvent') is 'exception' | 107 PASS TryAllocate('TextEvent') is 'exception' |
108 PASS TryAllocate('XPathResult') is 'exception' | 108 PASS TryAllocate('XPathResult') is 'exception' |
109 FAIL TryAllocate('BarInfo') should be exception. Was no constructor. | 109 FAIL TryAllocate('BarInfo') should be exception. Was no constructor. |
110 PASS TryAllocate('CanvasGradient') is 'exception' | 110 PASS TryAllocate('CanvasGradient') is 'exception' |
111 PASS TryAllocate('CanvasPattern') is 'exception' | 111 PASS TryAllocate('CanvasPattern') is 'exception' |
112 FAIL TryAllocate('Console') should be exception. Was no constructor. | 112 FAIL TryAllocate('Console') should be exception. Was no constructor. |
113 PASS TryAllocate('Selection') is 'exception' | 113 PASS TryAllocate('Selection') is 'exception' |
114 PASS TryAllocate('Window') is 'exception' | 114 PASS TryAllocate('Window') is 'exception' |
115 FAIL TryAllocate('History') should be exception. Was no constructor. | 115 FAIL TryAllocate('History') should be exception. Was no constructor. |
116 PASS TryAllocate('HTMLOptionsCollection') is 'exception' | 116 PASS TryAllocate('HTMLOptionsCollection') is 'exception' |
117 FAIL TryAllocate('Location') should be exception. Was no constructor. | 117 PASS TryAllocate('Location') is 'exception' |
118 FAIL TryAllocate('Navigator') should be exception. Was no constructor. | 118 FAIL TryAllocate('Navigator') should be exception. Was no constructor. |
119 FAIL TryAllocate('NodeIterator') should be exception. Was no constructor. | 119 FAIL TryAllocate('NodeIterator') should be exception. Was no constructor. |
120 PASS TryAllocate('RGBColor') is 'exception' | 120 PASS TryAllocate('RGBColor') is 'exception' |
121 FAIL TryAllocate('Screen') should be exception. Was no constructor. | 121 FAIL TryAllocate('Screen') should be exception. Was no constructor. |
122 FAIL TryAllocate('TreeWalker') should be exception. Was no constructor. | 122 FAIL TryAllocate('TreeWalker') should be exception. Was no constructor. |
123 FAIL TryAllocate('XPathExpression') should be exception. Was no constructor. | 123 FAIL TryAllocate('XPathExpression') should be exception. Was no constructor. |
124 PASS TryAllocate('Worker') is 'exception' | 124 PASS TryAllocate('Worker') is 'exception' |
125 PASS TryAllocate('EventTargetNode') is 'no constructor' | 125 PASS TryAllocate('EventTargetNode') is 'no constructor' |
126 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' | 126 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' |
127 PASS TryAllocate('XPathNSResolver') is 'no constructor' | 127 PASS TryAllocate('XPathNSResolver') is 'no constructor' |
(...skipping 21 matching lines...) Expand all Loading... |
149 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 149 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
150 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 150 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
151 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 151 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
152 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 152 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
153 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 153 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
154 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 154 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
155 PASS successfullyParsed is true | 155 PASS successfullyParsed is true |
156 | 156 |
157 TEST COMPLETE | 157 TEST COMPLETE |
158 | 158 |
OLD | NEW |