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' | |
10 PASS TryAllocate('Document') is 'exception' | 9 PASS TryAllocate('Document') is 'exception' |
11 PASS TryAllocate('DocumentType') is 'exception' | 10 PASS TryAllocate('DocumentType') is 'exception' |
12 PASS TryAllocate('Element') is 'exception' | 11 PASS TryAllocate('Element') is 'exception' |
13 PASS TryAllocate('Entity') is 'exception' | 12 PASS TryAllocate('Entity') is 'exception' |
14 PASS TryAllocate('EntityReference') is 'exception' | 13 PASS TryAllocate('EntityReference') is 'exception' |
15 PASS TryAllocate('HTMLDocument') is 'exception' | 14 PASS TryAllocate('HTMLDocument') is 'exception' |
16 PASS TryAllocate('Node') is 'exception' | 15 PASS TryAllocate('Node') is 'exception' |
17 PASS TryAllocate('Notation') is 'exception' | 16 PASS TryAllocate('Notation') is 'exception' |
18 PASS TryAllocate('ProcessingInstruction') is 'exception' | 17 PASS TryAllocate('ProcessingInstruction') is 'exception' |
19 PASS TryAllocate('Text') is 'exception' | 18 PASS TryAllocate('Text') is 'exception' |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 FAIL TryAllocate('Screen') should be exception. Was no constructor. | 118 FAIL TryAllocate('Screen') should be exception. Was no constructor. |
120 FAIL TryAllocate('TreeWalker') should be exception. Was no constructor. | 119 FAIL TryAllocate('TreeWalker') should be exception. Was no constructor. |
121 FAIL TryAllocate('XPathExpression') should be exception. Was no constructor. | 120 FAIL TryAllocate('XPathExpression') should be exception. Was no constructor. |
122 PASS TryAllocate('Worker') is 'exception' | 121 PASS TryAllocate('Worker') is 'exception' |
123 PASS TryAllocate('EventTargetNode') is 'no constructor' | 122 PASS TryAllocate('EventTargetNode') is 'no constructor' |
124 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' | 123 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' |
125 PASS TryAllocate('XPathNSResolver') is 'no constructor' | 124 PASS TryAllocate('XPathNSResolver') is 'no constructor' |
126 PASS TryAllocate('EventTarget') is 'no constructor' | 125 PASS TryAllocate('EventTarget') is 'no constructor' |
127 PASS TryAllocate('EventListener') is 'no constructor' | 126 PASS TryAllocate('EventListener') is 'no constructor' |
128 PASS TryAllocate('NPObject') is 'no constructor' | 127 PASS TryAllocate('NPObject') is 'no constructor' |
| 128 PASS TryAllocate('Comment') is '[object Comment]' |
| 129 PASS TryAllocate('Comment') is '[object Comment]' |
| 130 PASS TryAllocate('Comment') is '[object Comment]' |
129 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 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('DocumentFragment') is '[object DocumentFragment]' | 134 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' |
133 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' | 135 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' |
134 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' | 136 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' |
135 PASS TryAllocate('Range') is '[object Range]' | 137 PASS TryAllocate('Range') is '[object Range]' |
136 PASS TryAllocate('Range') is '[object Range]' | 138 PASS TryAllocate('Range') is '[object Range]' |
137 PASS TryAllocate('Range') is '[object Range]' | 139 PASS TryAllocate('Range') is '[object Range]' |
138 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' | 140 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' |
(...skipping 14 matching lines...) Expand all Loading... |
153 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 155 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
154 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 156 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
155 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 157 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
156 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 158 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
157 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 159 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
158 PASS TryAllocate('Image') is '[object HTMLImageElement]' | 160 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
159 PASS successfullyParsed is true | 161 PASS successfullyParsed is true |
160 | 162 |
161 TEST COMPLETE | 163 TEST COMPLETE |
162 | 164 |
OLD | NEW |