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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 PASS TryAllocate('HTMLCollection') is 'exception' | 93 PASS TryAllocate('HTMLCollection') is 'exception' |
94 PASS TryAllocate('MediaList') is 'exception' | 94 PASS TryAllocate('MediaList') is 'exception' |
95 PASS TryAllocate('MimeType') is 'exception' | 95 PASS TryAllocate('MimeType') is 'exception' |
96 PASS TryAllocate('MimeTypeArray') is 'exception' | 96 PASS TryAllocate('MimeTypeArray') is 'exception' |
97 PASS TryAllocate('MutationEvent') is 'exception' | 97 PASS TryAllocate('MutationEvent') is 'exception' |
98 PASS TryAllocate('NamedNodeMap') is 'exception' | 98 PASS TryAllocate('NamedNodeMap') is 'exception' |
99 PASS TryAllocate('NodeFilter') is 'exception' | 99 PASS TryAllocate('NodeFilter') is 'exception' |
100 PASS TryAllocate('NodeList') is 'exception' | 100 PASS TryAllocate('NodeList') is 'exception' |
101 PASS TryAllocate('Plugin') is 'exception' | 101 PASS TryAllocate('Plugin') is 'exception' |
102 PASS TryAllocate('PluginArray') is 'exception' | 102 PASS TryAllocate('PluginArray') is 'exception' |
103 PASS TryAllocate('Range') is 'exception' | |
104 PASS TryAllocate('Rect') is 'exception' | 103 PASS TryAllocate('Rect') is 'exception' |
105 PASS TryAllocate('StyleSheet') is 'exception' | 104 PASS TryAllocate('StyleSheet') is 'exception' |
106 PASS TryAllocate('StyleSheetList') is 'exception' | 105 PASS TryAllocate('StyleSheetList') is 'exception' |
107 PASS TryAllocate('TextEvent') is 'exception' | 106 PASS TryAllocate('TextEvent') is 'exception' |
108 PASS TryAllocate('XPathResult') is 'exception' | 107 PASS TryAllocate('XPathResult') is 'exception' |
109 FAIL TryAllocate('BarInfo') should be exception. Was no constructor. | 108 FAIL TryAllocate('BarInfo') should be exception. Was no constructor. |
110 PASS TryAllocate('CanvasGradient') is 'exception' | 109 PASS TryAllocate('CanvasGradient') is 'exception' |
111 PASS TryAllocate('CanvasPattern') is 'exception' | 110 PASS TryAllocate('CanvasPattern') is 'exception' |
112 FAIL TryAllocate('Console') should be exception. Was no constructor. | 111 FAIL TryAllocate('Console') should be exception. Was no constructor. |
113 PASS TryAllocate('Selection') is 'exception' | 112 PASS TryAllocate('Selection') is 'exception' |
(...skipping 10 matching lines...) Expand all Loading... |
124 PASS TryAllocate('Worker') is 'exception' | 123 PASS TryAllocate('Worker') is 'exception' |
125 PASS TryAllocate('EventTargetNode') is 'no constructor' | 124 PASS TryAllocate('EventTargetNode') is 'no constructor' |
126 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' | 125 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' |
127 PASS TryAllocate('XPathNSResolver') is 'no constructor' | 126 PASS TryAllocate('XPathNSResolver') is 'no constructor' |
128 PASS TryAllocate('EventTarget') is 'no constructor' | 127 PASS TryAllocate('EventTarget') is 'no constructor' |
129 PASS TryAllocate('EventListener') is 'no constructor' | 128 PASS TryAllocate('EventListener') is 'no constructor' |
130 PASS TryAllocate('NPObject') is 'no constructor' | 129 PASS TryAllocate('NPObject') is 'no constructor' |
131 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 130 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
132 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 131 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
133 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 132 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
| 133 FAIL TryAllocate('Range') should be [object Range]. Was . |
| 134 FAIL TryAllocate('Range') should be [object Range]. Was . |
| 135 FAIL TryAllocate('Range') should be [object Range]. Was . |
134 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' | 136 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' |
135 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' | 137 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' |
136 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' | 138 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' |
137 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]' | 139 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]' |
138 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]' | 140 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]' |
139 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]' | 141 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]' |
140 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]' | 142 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]' |
141 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]' | 143 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]' |
142 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]' | 144 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]' |
143 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]' | 145 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]' |
144 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]' | 146 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]' |
145 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]' | 147 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]' |
146 PASS TryAllocate('Audio') is '[object HTMLAudioElement]' | 148 PASS TryAllocate('Audio') is '[object HTMLAudioElement]' |
147 PASS TryAllocate('Audio') is '[object HTMLAudioElement]' | 149 PASS TryAllocate('Audio') is '[object HTMLAudioElement]' |
148 PASS TryAllocate('Audio') is '[object HTMLAudioElement]' | 150 PASS TryAllocate('Audio') is '[object HTMLAudioElement]' |
149 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 151 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
150 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 152 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
151 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 153 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
152 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 154 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
153 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 155 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
154 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 156 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
155 PASS successfullyParsed is true | 157 PASS successfullyParsed is true |
156 | 158 |
157 TEST COMPLETE | 159 TEST COMPLETE |
158 | 160 |
OLD | NEW |