OLD | NEW |
1 description( | 1 description( |
2 'This tests the behavior of non-numeric values in contexts where the DOM has a n
umeric parameter.' | 2 'This tests the behavior of non-numeric values in contexts where the DOM has a n
umeric parameter.' |
3 ); | 3 ); |
4 | 4 |
5 function nonNumericPolicy(template) | 5 function nonNumericPolicy(template) |
6 { | 6 { |
7 var x = 0; | 7 var x = 0; |
8 try { | 8 try { |
9 eval(template); | 9 eval(template); |
10 } catch (e) { | 10 } catch (e) { |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 // CSSRuleList | 196 // CSSRuleList |
197 | 197 |
198 shouldBe("nonNumericPolicy('createCSSRuleList().item(x)')", "'any type allowed (
but not omitted)'"); | 198 shouldBe("nonNumericPolicy('createCSSRuleList().item(x)')", "'any type allowed (
but not omitted)'"); |
199 | 199 |
200 // CSSStyleDeclaration | 200 // CSSStyleDeclaration |
201 | 201 |
202 shouldBe("nonNumericPolicy('createCSSStyleDeclaration().item(x)')", "'any type a
llowed'"); | 202 shouldBe("nonNumericPolicy('createCSSStyleDeclaration().item(x)')", "'any type a
llowed'"); |
203 | 203 |
204 // CSSStyleSheet | 204 // CSSStyleSheet |
205 | 205 |
206 shouldBe("nonNumericPolicy('createCSSStyleSheet().insertRule(ruleText, x)')", "'
any type allowed (but not omitted)'"); | 206 shouldBe("nonNumericPolicy('createCSSStyleSheet().insertRule(ruleText, x)')", "'
any type allowed'"); |
207 shouldBe("nonNumericPolicy('createCSSStyleSheet().deleteRule(x)')", "'any type a
llowed (but not omitted)'"); | 207 shouldBe("nonNumericPolicy('createCSSStyleSheet().deleteRule(x)')", "'any type a
llowed (but not omitted)'"); |
208 shouldBe("nonNumericPolicy('createCSSStyleSheet().addRule(selector, styleText, x
)')", "'any type allowed'"); | 208 shouldBe("nonNumericPolicy('createCSSStyleSheet().addRule(selector, styleText, x
)')", "'any type allowed'"); |
209 shouldBe("nonNumericPolicy('createCSSStyleSheet().removeRule(x)')", "'any type a
llowed'"); | 209 shouldBe("nonNumericPolicy('createCSSStyleSheet().removeRule(x)')", "'any type a
llowed'"); |
210 | 210 |
211 // CSSValueList | 211 // CSSValueList |
212 | 212 |
213 shouldBe("nonNumericPolicy('createCSSValueList().item(x)')", "'any type allowed
(but not omitted)'"); | 213 shouldBe("nonNumericPolicy('createCSSValueList().item(x)')", "'any type allowed
(but not omitted)'"); |
214 | 214 |
215 // Document | 215 // Document |
216 | 216 |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 ../../../../WebCore/svg/SVGSVGElement.idl: attribute float curre
ntScale | 635 ../../../../WebCore/svg/SVGSVGElement.idl: attribute float curre
ntScale |
636 | 636 |
637 ../../../../WebCore/svg/SVGMatrix.idl: attribute double a; | 637 ../../../../WebCore/svg/SVGMatrix.idl: attribute double a; |
638 ../../../../WebCore/svg/SVGMatrix.idl: attribute double b; | 638 ../../../../WebCore/svg/SVGMatrix.idl: attribute double b; |
639 ../../../../WebCore/svg/SVGMatrix.idl: attribute double c; | 639 ../../../../WebCore/svg/SVGMatrix.idl: attribute double c; |
640 ../../../../WebCore/svg/SVGMatrix.idl: attribute double d; | 640 ../../../../WebCore/svg/SVGMatrix.idl: attribute double d; |
641 ../../../../WebCore/svg/SVGMatrix.idl: attribute double e; | 641 ../../../../WebCore/svg/SVGMatrix.idl: attribute double e; |
642 ../../../../WebCore/svg/SVGMatrix.idl: attribute double f; | 642 ../../../../WebCore/svg/SVGMatrix.idl: attribute double f; |
643 | 643 |
644 */ | 644 */ |
OLD | NEW |