| 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' | |
| 10 PASS TryAllocate('DocumentType') is 'exception' | 9 PASS TryAllocate('DocumentType') is 'exception' |
| 11 PASS TryAllocate('Element') is 'exception' | 10 PASS TryAllocate('Element') is 'exception' |
| 12 PASS TryAllocate('EventTarget') is 'exception' | 11 PASS TryAllocate('EventTarget') is 'exception' |
| 13 PASS TryAllocate('HTMLDocument') is 'exception' | 12 PASS TryAllocate('HTMLDocument') is 'exception' |
| 14 PASS TryAllocate('Node') is 'exception' | 13 PASS TryAllocate('Node') is 'exception' |
| 15 PASS TryAllocate('ProcessingInstruction') is 'exception' | 14 PASS TryAllocate('ProcessingInstruction') is 'exception' |
| 16 PASS TryAllocate('HTMLAllCollection') is 'exception' | 15 PASS TryAllocate('HTMLAllCollection') is 'exception' |
| 17 PASS TryAllocate('HTMLAnchorElement') is 'exception' | 16 PASS TryAllocate('HTMLAnchorElement') is 'exception' |
| 18 PASS TryAllocate('HTMLAreaElement') is 'exception' | 17 PASS TryAllocate('HTMLAreaElement') is 'exception' |
| 19 PASS TryAllocate('HTMLBaseElement') is 'exception' | 18 PASS TryAllocate('HTMLBaseElement') is 'exception' |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 PASS TryAllocate('NPObject') is 'no constructor' | 113 PASS TryAllocate('NPObject') is 'no constructor' |
| 115 PASS TryAllocate('Comment') is '[object Comment]' | 114 PASS TryAllocate('Comment') is '[object Comment]' |
| 116 PASS TryAllocate('Comment') is '[object Comment]' | 115 PASS TryAllocate('Comment') is '[object Comment]' |
| 117 PASS TryAllocate('Comment') is '[object Comment]' | 116 PASS TryAllocate('Comment') is '[object Comment]' |
| 118 PASS TryAllocate('DataTransfer') is '[object DataTransfer]' | 117 PASS TryAllocate('DataTransfer') is '[object DataTransfer]' |
| 119 PASS TryAllocate('DataTransfer') is '[object DataTransfer]' | 118 PASS TryAllocate('DataTransfer') is '[object DataTransfer]' |
| 120 PASS TryAllocate('DataTransfer') is '[object DataTransfer]' | 119 PASS TryAllocate('DataTransfer') is '[object DataTransfer]' |
| 121 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 120 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
| 122 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 121 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
| 123 PASS TryAllocate('DOMParser') is '[object DOMParser]' | 122 PASS TryAllocate('DOMParser') is '[object DOMParser]' |
| 123 PASS TryAllocate('Document') is '[object Document]' |
| 124 PASS TryAllocate('Document') is '[object Document]' |
| 125 PASS TryAllocate('Document') is '[object Document]' |
| 124 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' | 126 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' |
| 125 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' | 127 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' |
| 126 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' | 128 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]' |
| 127 PASS TryAllocate('Range') is '[object Range]' | 129 PASS TryAllocate('Range') is '[object Range]' |
| 128 PASS TryAllocate('Range') is '[object Range]' | 130 PASS TryAllocate('Range') is '[object Range]' |
| 129 PASS TryAllocate('Range') is '[object Range]' | 131 PASS TryAllocate('Range') is '[object Range]' |
| 130 PASS TryAllocate('Text') is '[object Text]' | 132 PASS TryAllocate('Text') is '[object Text]' |
| 131 PASS TryAllocate('Text') is '[object Text]' | 133 PASS TryAllocate('Text') is '[object Text]' |
| 132 PASS TryAllocate('Text') is '[object Text]' | 134 PASS TryAllocate('Text') is '[object Text]' |
| 133 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' | 135 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]' |
| (...skipping 14 matching lines...) Expand all Loading... |
| 148 PASS TryAllocate('Option') is '[object HTMLOptionElement]' | 150 PASS TryAllocate('Option') is '[object HTMLOptionElement]' |
| 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('Image') is '[object HTMLImageElement]' | 153 PASS TryAllocate('Image') is '[object HTMLImageElement]' |
| 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 successfullyParsed is true | 156 PASS successfullyParsed is true |
| 155 | 157 |
| 156 TEST COMPLETE | 158 TEST COMPLETE |
| 157 | 159 |
| OLD | NEW |