| OLD | NEW |
| 1 This tests wrapper class names for JavaScript. | 1 This tests wrapper class names for JavaScript. |
| 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 successfullyParsed is true | 6 PASS successfullyParsed is true |
| 7 | 7 |
| 8 TEST COMPLETE | 8 TEST COMPLETE |
| 9 Basics | 9 Basics |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 PASS classString(document.implementation.constructor) is "Function" | 25 PASS classString(document.implementation.constructor) is "Function" |
| 26 PASS document.implementation.constructor.name is "DOMImplementation" | 26 PASS document.implementation.constructor.name is "DOMImplementation" |
| 27 PASS classString(root.attributes) is "NamedNodeMap" | 27 PASS classString(root.attributes) is "NamedNodeMap" |
| 28 FAIL classString(root.attributes.__proto__) should be NamedNodeMapPrototype. Was
Object. | 28 FAIL classString(root.attributes.__proto__) should be NamedNodeMapPrototype. Was
Object. |
| 29 PASS classString(root.attributes.constructor) is "Function" | 29 PASS classString(root.attributes.constructor) is "Function" |
| 30 PASS root.attributes.constructor.name is "NamedNodeMap" | 30 PASS root.attributes.constructor.name is "NamedNodeMap" |
| 31 PASS classString(document.createNodeIterator(root, 0, null, false)) is "NodeIter
ator" | 31 PASS classString(document.createNodeIterator(root, 0, null, false)) is "NodeIter
ator" |
| 32 FAIL classString(document.createNodeIterator(root, 0, null, false).__proto__) sh
ould be NodeIteratorPrototype. Was Object. | 32 FAIL classString(document.createNodeIterator(root, 0, null, false).__proto__) sh
ould be NodeIteratorPrototype. Was Object. |
| 33 PASS classString(document.createNodeIterator(root, 0, null, false).constructor)
is "Function" | 33 PASS classString(document.createNodeIterator(root, 0, null, false).constructor)
is "Function" |
| 34 PASS document.createNodeIterator(root, 0, null, false).constructor.name is "Node
Iterator" | 34 PASS document.createNodeIterator(root, 0, null, false).constructor.name is "Node
Iterator" |
| 35 PASS classString(document.getElementsByTagName('div')) is "NodeList" | 35 PASS classString(document.getElementsByTagName('div')) is "HTMLCollection" |
| 36 FAIL classString(document.getElementsByTagName('div').__proto__) should be NodeL
istPrototype. Was Object. | 36 FAIL classString(document.getElementsByTagName('div').__proto__) should be HTMLC
ollectionPrototype. Was Object. |
| 37 PASS classString(document.getElementsByTagName('div').constructor) is "Function" | 37 PASS classString(document.getElementsByTagName('div').constructor) is "Function" |
| 38 PASS document.getElementsByTagName('div').constructor.name is "NodeList" | 38 PASS document.getElementsByTagName('div').constructor.name is "HTMLCollection" |
| 39 PASS classString(document.createRange()) is "Range" | 39 PASS classString(document.createRange()) is "Range" |
| 40 FAIL classString(document.createRange().__proto__) should be RangePrototype. Was
Object. | 40 FAIL classString(document.createRange().__proto__) should be RangePrototype. Was
Object. |
| 41 PASS classString(document.createRange().constructor) is "Function" | 41 PASS classString(document.createRange().constructor) is "Function" |
| 42 PASS document.createRange().constructor.name is "Range" | 42 PASS document.createRange().constructor.name is "Range" |
| 43 PASS classString(document.createTextNode('')) is "Text" | 43 PASS classString(document.createTextNode('')) is "Text" |
| 44 FAIL classString(document.createTextNode('').__proto__) should be TextPrototype.
Was Object. | 44 FAIL classString(document.createTextNode('').__proto__) should be TextPrototype.
Was Object. |
| 45 PASS classString(document.createTextNode('').constructor) is "Function" | 45 PASS classString(document.createTextNode('').constructor) is "Function" |
| 46 PASS document.createTextNode('').constructor.name is "Text" | 46 PASS document.createTextNode('').constructor.name is "Text" |
| 47 PASS classString(document.createTreeWalker(root, 0, null, false)) is "TreeWalker
" | 47 PASS classString(document.createTreeWalker(root, 0, null, false)) is "TreeWalker
" |
| 48 FAIL classString(document.createTreeWalker(root, 0, null, false).__proto__) shou
ld be TreeWalkerPrototype. Was Object. | 48 FAIL classString(document.createTreeWalker(root, 0, null, false).__proto__) shou
ld be TreeWalkerPrototype. Was Object. |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 PASS tagConstructorName('var') is "HTMLElement" | 639 PASS tagConstructorName('var') is "HTMLElement" |
| 640 PASS tagClassString('wbr') is "HTMLElement" | 640 PASS tagClassString('wbr') is "HTMLElement" |
| 641 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object. | 641 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object. |
| 642 PASS tagConstructorClassString('wbr') is "Function" | 642 PASS tagConstructorClassString('wbr') is "Function" |
| 643 PASS tagConstructorName('wbr') is "HTMLElement" | 643 PASS tagConstructorName('wbr') is "HTMLElement" |
| 644 PASS tagClassString('xmp') is "HTMLPreElement" | 644 PASS tagClassString('xmp') is "HTMLPreElement" |
| 645 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec
t. | 645 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec
t. |
| 646 PASS tagConstructorClassString('xmp') is "Function" | 646 PASS tagConstructorClassString('xmp') is "Function" |
| 647 PASS tagConstructorName('xmp') is "HTMLPreElement" | 647 PASS tagConstructorName('xmp') is "HTMLPreElement" |
| 648 | 648 |
| OLD | NEW |