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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 PASS classString(stylesheet.cssRules.constructor) is "Function" | 118 PASS classString(stylesheet.cssRules.constructor) is "Function" |
119 PASS stylesheet.cssRules.constructor.name is "CSSRuleList" | 119 PASS stylesheet.cssRules.constructor.name is "CSSRuleList" |
120 PASS classString(stylesheet.cssRules.item(0)) is "CSSStyleRule" | 120 PASS classString(stylesheet.cssRules.item(0)) is "CSSStyleRule" |
121 FAIL classString(stylesheet.cssRules.item(0).__proto__) should be CSSStyleRulePr
ototype. Was Object. | 121 FAIL classString(stylesheet.cssRules.item(0).__proto__) should be CSSStyleRulePr
ototype. Was Object. |
122 PASS classString(stylesheet.cssRules.item(0).constructor) is "Function" | 122 PASS classString(stylesheet.cssRules.item(0).constructor) is "Function" |
123 PASS stylesheet.cssRules.item(0).constructor.name is "CSSStyleRule" | 123 PASS stylesheet.cssRules.item(0).constructor.name is "CSSStyleRule" |
124 PASS classString(stylesheet.cssRules.item(0).style) is "CSSStyleDeclaration" | 124 PASS classString(stylesheet.cssRules.item(0).style) is "CSSStyleDeclaration" |
125 FAIL classString(stylesheet.cssRules.item(0).style.__proto__) should be CSSStyle
DeclarationPrototype. Was Object. | 125 FAIL classString(stylesheet.cssRules.item(0).style.__proto__) should be CSSStyle
DeclarationPrototype. Was Object. |
126 PASS classString(stylesheet.cssRules.item(0).style.constructor) is "Function" | 126 PASS classString(stylesheet.cssRules.item(0).style.constructor) is "Function" |
127 PASS stylesheet.cssRules.item(0).style.constructor.name is "CSSStyleDeclaration" | 127 PASS stylesheet.cssRules.item(0).style.constructor.name is "CSSStyleDeclaration" |
128 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('color'))
is "CSSPrimitiveValue" | |
129 FAIL classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('color').
__proto__) should be CSSPrimitiveValuePrototype. Was Object. | |
130 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('color').
constructor) is "Function" | |
131 PASS stylesheet.cssRules.item(0).style.getPropertyCSSValue('color').constructor.
name is "CSSPrimitiveValue" | |
132 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('color').
getRGBColorValue()) is "RGBColor" | |
133 FAIL classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('color').
getRGBColorValue().__proto__) should be RGBColorPrototype. Was Object. | |
134 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('color').
getRGBColorValue().constructor) is "Function" | |
135 PASS stylesheet.cssRules.item(0).style.getPropertyCSSValue('color').getRGBColorV
alue().constructor.name is "RGBColor" | |
136 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('clip').g
etRectValue()) is "Rect" | |
137 FAIL classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('clip').g
etRectValue().__proto__) should be RectPrototype. Was Object. | |
138 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('clip').g
etRectValue().constructor) is "Function" | |
139 PASS stylesheet.cssRules.item(0).style.getPropertyCSSValue('clip').getRectValue(
).constructor.name is "Rect" | |
140 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('content'
)) is "CSSValueList" | |
141 FAIL classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('content'
).__proto__) should be CSSValueListPrototype. Was Object. | |
142 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('content'
).constructor) is "Function" | |
143 PASS stylesheet.cssRules.item(0).style.getPropertyCSSValue('content').constructo
r.name is "CSSValueList" | |
144 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('content'
).item(0).getCounterValue()) is "Counter" | |
145 FAIL classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('content'
).item(0).getCounterValue().__proto__) should be CounterPrototype. Was Object. | |
146 PASS classString(stylesheet.cssRules.item(0).style.getPropertyCSSValue('content'
).item(0).getCounterValue().constructor) is "Function" | |
147 PASS stylesheet.cssRules.item(0).style.getPropertyCSSValue('content').item(0).ge
tCounterValue().constructor.name is "Counter" | |
148 PASS classString(stylesheet.media) is "MediaList" | 128 PASS classString(stylesheet.media) is "MediaList" |
149 FAIL classString(stylesheet.media.__proto__) should be MediaListPrototype. Was O
bject. | 129 FAIL classString(stylesheet.media.__proto__) should be MediaListPrototype. Was O
bject. |
150 PASS classString(stylesheet.media.constructor) is "Function" | 130 PASS classString(stylesheet.media.constructor) is "Function" |
151 PASS stylesheet.media.constructor.name is "MediaList" | 131 PASS stylesheet.media.constructor.name is "MediaList" |
152 | 132 |
153 XPath | 133 XPath |
154 | 134 |
155 PASS classString(document.createExpression('//*', document.createNSResolver(docu
ment))) is "XPathExpression" | 135 PASS classString(document.createExpression('//*', document.createNSResolver(docu
ment))) is "XPathExpression" |
156 FAIL classString(document.createExpression('//*', document.createNSResolver(docu
ment)).__proto__) should be XPathExpressionPrototype. Was Object. | 136 FAIL classString(document.createExpression('//*', document.createNSResolver(docu
ment)).__proto__) should be XPathExpressionPrototype. Was Object. |
157 PASS classString(document.createExpression('//*', document.createNSResolver(docu
ment)).constructor) is "Function" | 137 PASS classString(document.createExpression('//*', document.createNSResolver(docu
ment)).constructor) is "Function" |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 PASS tagConstructorName('var') is "HTMLElement" | 619 PASS tagConstructorName('var') is "HTMLElement" |
640 PASS tagClassString('wbr') is "HTMLElement" | 620 PASS tagClassString('wbr') is "HTMLElement" |
641 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object. | 621 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object. |
642 PASS tagConstructorClassString('wbr') is "Function" | 622 PASS tagConstructorClassString('wbr') is "Function" |
643 PASS tagConstructorName('wbr') is "HTMLElement" | 623 PASS tagConstructorName('wbr') is "HTMLElement" |
644 PASS tagClassString('xmp') is "HTMLPreElement" | 624 PASS tagClassString('xmp') is "HTMLPreElement" |
645 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec
t. | 625 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec
t. |
646 PASS tagConstructorClassString('xmp') is "Function" | 626 PASS tagConstructorClassString('xmp') is "Function" |
647 PASS tagConstructorName('xmp') is "HTMLPreElement" | 627 PASS tagConstructorName('xmp') is "HTMLPreElement" |
648 | 628 |
OLD | NEW |