| 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' |
| 11 PASS TryAllocate('Element') is 'exception' | 11 PASS TryAllocate('Element') is 'exception' |
| 12 PASS TryAllocate('Entity') is 'exception' | 12 PASS TryAllocate('Entity') is 'exception' |
| 13 PASS TryAllocate('EventTarget') is 'exception' |
| 13 PASS TryAllocate('HTMLDocument') is 'exception' | 14 PASS TryAllocate('HTMLDocument') is 'exception' |
| 14 PASS TryAllocate('Node') is 'exception' | 15 PASS TryAllocate('Node') is 'exception' |
| 15 PASS TryAllocate('Notation') is 'exception' | 16 PASS TryAllocate('Notation') is 'exception' |
| 16 PASS TryAllocate('ProcessingInstruction') is 'exception' | 17 PASS TryAllocate('ProcessingInstruction') is 'exception' |
| 17 PASS TryAllocate('HTMLAllCollection') is 'exception' | 18 PASS TryAllocate('HTMLAllCollection') is 'exception' |
| 18 PASS TryAllocate('HTMLAnchorElement') is 'exception' | 19 PASS TryAllocate('HTMLAnchorElement') is 'exception' |
| 19 PASS TryAllocate('HTMLAppletElement') is 'exception' | 20 PASS TryAllocate('HTMLAppletElement') is 'exception' |
| 20 PASS TryAllocate('HTMLAreaElement') is 'exception' | 21 PASS TryAllocate('HTMLAreaElement') is 'exception' |
| 21 PASS TryAllocate('HTMLBaseElement') is 'exception' | 22 PASS TryAllocate('HTMLBaseElement') is 'exception' |
| 22 PASS TryAllocate('HTMLBodyElement') is 'exception' | 23 PASS TryAllocate('HTMLBodyElement') is 'exception' |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 PASS TryAllocate('Navigator') is 'exception' | 114 PASS TryAllocate('Navigator') is 'exception' |
| 114 PASS TryAllocate('NodeIterator') is 'exception' | 115 PASS TryAllocate('NodeIterator') is 'exception' |
| 115 PASS TryAllocate('RGBColor') is 'exception' | 116 PASS TryAllocate('RGBColor') is 'exception' |
| 116 PASS TryAllocate('Screen') is 'exception' | 117 PASS TryAllocate('Screen') is 'exception' |
| 117 PASS TryAllocate('TreeWalker') is 'exception' | 118 PASS TryAllocate('TreeWalker') is 'exception' |
| 118 PASS TryAllocate('XPathExpression') is 'exception' | 119 PASS TryAllocate('XPathExpression') is 'exception' |
| 119 PASS TryAllocate('Worker') is 'exception' | 120 PASS TryAllocate('Worker') is 'exception' |
| 120 PASS TryAllocate('EventTargetNode') is 'no constructor' | 121 PASS TryAllocate('EventTargetNode') is 'no constructor' |
| 121 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' | 122 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor' |
| 122 PASS TryAllocate('XPathNSResolver') is 'no constructor' | 123 PASS TryAllocate('XPathNSResolver') 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]' |
| 129 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 129 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
| 130 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 130 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
| 131 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 131 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
| 132 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' | 132 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' |
| 133 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' | 133 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' |
| (...skipping 22 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 |