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 Basics | 6 Basics |
7 | 7 |
8 PASS jsWrapperClass(document.createAttribute()) is 'Attr' | 8 PASS jsWrapperClass(document.createAttribute()) is 'Attr' |
9 FAIL jsWrapperClass(document.createAttribute().__proto__) should be AttrPrototyp
e. Was Object. | 9 FAIL jsWrapperClass(document.createAttribute().__proto__) should be AttrPrototyp
e. Was Object. |
10 FAIL jsWrapperClass(document.createAttribute().constructor) should be AttrConstr
uctor. Was Function. | 10 FAIL jsWrapperClass(document.createAttribute().constructor) should be AttrConstr
uctor. Was Function. |
(...skipping 29 matching lines...) Expand all Loading... |
40 | 40 |
41 PASS jsWrapperClass(xmlDocument) is 'Document' | 41 PASS jsWrapperClass(xmlDocument) is 'Document' |
42 FAIL jsWrapperClass(xmlDocument.__proto__) should be DocumentPrototype. Was Obje
ct. | 42 FAIL jsWrapperClass(xmlDocument.__proto__) should be DocumentPrototype. Was Obje
ct. |
43 FAIL jsWrapperClass(xmlDocument.constructor) should be DocumentConstructor. Was
Function. | 43 FAIL jsWrapperClass(xmlDocument.constructor) should be DocumentConstructor. Was
Function. |
44 PASS jsWrapperClass(xmlDocument.createCDATASection()) is 'CDATASection' | 44 PASS jsWrapperClass(xmlDocument.createCDATASection()) is 'CDATASection' |
45 FAIL jsWrapperClass(xmlDocument.createCDATASection().__proto__) should be CDATAS
ectionPrototype. Was Object. | 45 FAIL jsWrapperClass(xmlDocument.createCDATASection().__proto__) should be CDATAS
ectionPrototype. Was Object. |
46 FAIL jsWrapperClass(xmlDocument.createCDATASection().constructor) should be CDAT
ASectionConstructor. Was Function. | 46 FAIL jsWrapperClass(xmlDocument.createCDATASection().constructor) should be CDAT
ASectionConstructor. Was Function. |
47 PASS jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x')) is 'Element' | 47 PASS jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x')) is 'Element' |
48 FAIL jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x').__proto__) should
be ElementPrototype. Was Object. | 48 FAIL jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x').__proto__) should
be ElementPrototype. Was Object. |
49 FAIL jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x').constructor) shou
ld be ElementConstructor. Was Function. | 49 FAIL jsWrapperClass(xmlDocument.createElementNS('x', 'x', 'x').constructor) shou
ld be ElementConstructor. Was Function. |
50 PASS jsWrapperClass(xmlDocument.createEntityReference()) is 'EntityReference' | |
51 FAIL jsWrapperClass(xmlDocument.createEntityReference().__proto__) should be Ent
ityReferencePrototype. Was Object. | |
52 FAIL jsWrapperClass(xmlDocument.createEntityReference().constructor) should be E
ntityReferenceConstructor. Was Function. | |
53 PASS jsWrapperClass(xmlDocument.createProcessingInstruction()) is 'ProcessingIns
truction' | 50 PASS jsWrapperClass(xmlDocument.createProcessingInstruction()) is 'ProcessingIns
truction' |
54 FAIL jsWrapperClass(xmlDocument.createProcessingInstruction().__proto__) should
be ProcessingInstructionPrototype. Was Object. | 51 FAIL jsWrapperClass(xmlDocument.createProcessingInstruction().__proto__) should
be ProcessingInstructionPrototype. Was Object. |
55 FAIL jsWrapperClass(xmlDocument.createProcessingInstruction().constructor) shoul
d be ProcessingInstructionConstructor. Was Function. | 52 FAIL jsWrapperClass(xmlDocument.createProcessingInstruction().constructor) shoul
d be ProcessingInstructionConstructor. Was Function. |
56 | 53 |
57 Events | 54 Events |
58 | 55 |
59 PASS jsWrapperClass(document.createEvent('Event')) is 'Event' | 56 PASS jsWrapperClass(document.createEvent('Event')) is 'Event' |
60 FAIL jsWrapperClass(document.createEvent('Event').__proto__) should be EventProt
otype. Was Object. | 57 FAIL jsWrapperClass(document.createEvent('Event').__proto__) should be EventProt
otype. Was Object. |
61 FAIL jsWrapperClass(document.createEvent('Event').constructor) should be EventCo
nstructor. Was Function. | 58 FAIL jsWrapperClass(document.createEvent('Event').constructor) should be EventCo
nstructor. Was Function. |
62 PASS jsWrapperClass(document.createEvent('KeyboardEvent')) is 'KeyboardEvent' | 59 PASS jsWrapperClass(document.createEvent('KeyboardEvent')) is 'KeyboardEvent' |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 PASS tagJSWrapperClass('var') is 'HTMLElement' | 482 PASS tagJSWrapperClass('var') is 'HTMLElement' |
486 FAIL tagJSWrapperPrototypeClass('var') should be HTMLElementPrototype. Was Objec
t. | 483 FAIL tagJSWrapperPrototypeClass('var') should be HTMLElementPrototype. Was Objec
t. |
487 FAIL tagJSWrapperConstructorClass('var') should be HTMLElementConstructor. Was F
unction. | 484 FAIL tagJSWrapperConstructorClass('var') should be HTMLElementConstructor. Was F
unction. |
488 PASS tagJSWrapperClass('wbr') is 'HTMLElement' | 485 PASS tagJSWrapperClass('wbr') is 'HTMLElement' |
489 FAIL tagJSWrapperPrototypeClass('wbr') should be HTMLElementPrototype. Was Objec
t. | 486 FAIL tagJSWrapperPrototypeClass('wbr') should be HTMLElementPrototype. Was Objec
t. |
490 FAIL tagJSWrapperConstructorClass('wbr') should be HTMLElementConstructor. Was F
unction. | 487 FAIL tagJSWrapperConstructorClass('wbr') should be HTMLElementConstructor. Was F
unction. |
491 PASS tagJSWrapperClass('xmp') is 'HTMLPreElement' | 488 PASS tagJSWrapperClass('xmp') is 'HTMLPreElement' |
492 FAIL tagJSWrapperPrototypeClass('xmp') should be HTMLPreElementPrototype. Was Ob
ject. | 489 FAIL tagJSWrapperPrototypeClass('xmp') should be HTMLPreElementPrototype. Was Ob
ject. |
493 FAIL tagJSWrapperConstructorClass('xmp') should be HTMLPreElementConstructor. Wa
s Function. | 490 FAIL tagJSWrapperConstructorClass('xmp') should be HTMLPreElementConstructor. Wa
s Function. |
494 | 491 |
OLD | NEW |