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 |
| 7 |
| 8 TEST COMPLETE |
6 Basics | 9 Basics |
7 | 10 |
8 PASS classString(document.createAttribute()) is "Attr" | 11 PASS classString(document.createAttribute()) is "Attr" |
9 FAIL classString(document.createAttribute().__proto__) should be AttrPrototype.
Was Object. | 12 FAIL classString(document.createAttribute().__proto__) should be AttrPrototype.
Was Object. |
10 PASS classString(document.createAttribute().constructor) is "Function" | 13 PASS classString(document.createAttribute().constructor) is "Function" |
11 PASS document.createAttribute().constructor.name is "Attr" | 14 PASS document.createAttribute().constructor.name is "Attr" |
12 PASS classString(document.createComment()) is "Comment" | 15 PASS classString(document.createComment()) is "Comment" |
13 FAIL classString(document.createComment().__proto__) should be CommentPrototype.
Was Object. | 16 FAIL classString(document.createComment().__proto__) should be CommentPrototype.
Was Object. |
14 PASS classString(document.createComment().constructor) is "Function" | 17 PASS classString(document.createComment().constructor) is "Function" |
15 PASS document.createComment().constructor.name is "Comment" | 18 PASS document.createComment().constructor.name is "Comment" |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 PASS tagConstructorClassString('var') is "Function" | 638 PASS tagConstructorClassString('var') is "Function" |
636 PASS tagConstructorName('var') is "HTMLElement" | 639 PASS tagConstructorName('var') is "HTMLElement" |
637 PASS tagClassString('wbr') is "HTMLElement" | 640 PASS tagClassString('wbr') is "HTMLElement" |
638 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object. | 641 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object. |
639 PASS tagConstructorClassString('wbr') is "Function" | 642 PASS tagConstructorClassString('wbr') is "Function" |
640 PASS tagConstructorName('wbr') is "HTMLElement" | 643 PASS tagConstructorName('wbr') is "HTMLElement" |
641 PASS tagClassString('xmp') is "HTMLPreElement" | 644 PASS tagClassString('xmp') is "HTMLPreElement" |
642 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec
t. | 645 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec
t. |
643 PASS tagConstructorClassString('xmp') is "Function" | 646 PASS tagConstructorClassString('xmp') is "Function" |
644 PASS tagConstructorName('xmp') is "HTMLPreElement" | 647 PASS tagConstructorName('xmp') is "HTMLPreElement" |
645 PASS successfullyParsed is true | |
646 | 648 |
647 TEST COMPLETE | |
648 | |
OLD | NEW |