| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 208 |
| 209 // CSSStyleSheet | 209 // CSSStyleSheet |
| 210 | 210 |
| 211 shouldBe("nonNumericPolicy('createCSSStyleSheet().insertRule(ruleText, x)')", "'
any type allowed'"); | 211 shouldBe("nonNumericPolicy('createCSSStyleSheet().insertRule(ruleText, x)')", "'
any type allowed'"); |
| 212 shouldBe("nonNumericPolicy('createCSSStyleSheet().deleteRule(x)')", "'any type a
llowed'"); | 212 shouldBe("nonNumericPolicy('createCSSStyleSheet().deleteRule(x)')", "'any type a
llowed'"); |
| 213 shouldBe("nonNumericPolicy('createCSSStyleSheet().addRule(selector, styleText, x
)')", "'any type allowed'"); | 213 shouldBe("nonNumericPolicy('createCSSStyleSheet().addRule(selector, styleText, x
)')", "'any type allowed'"); |
| 214 shouldBe("nonNumericPolicy('createCSSStyleSheet().removeRule(x)')", "'any type a
llowed'"); | 214 shouldBe("nonNumericPolicy('createCSSStyleSheet().removeRule(x)')", "'any type a
llowed'"); |
| 215 | 215 |
| 216 // CSSValueList | 216 // CSSValueList |
| 217 | 217 |
| 218 shouldBe("nonNumericPolicy('createCSSValueList().item(x)')", "'any type allowed'
"); | 218 shouldBe("nonNumericPolicy('createCSSValueList().item(x)')", "'any type allowed
(but not omitted)'"); |
| 219 | 219 |
| 220 // Document | 220 // Document |
| 221 | 221 |
| 222 shouldBe("nonNumericPolicy('document.elementFromPoint(x, 0)')", "'any type allow
ed'"); | 222 shouldBe("nonNumericPolicy('document.elementFromPoint(x, 0)')", "'any type allow
ed'"); |
| 223 shouldBe("nonNumericPolicy('document.elementFromPoint(0, x)')", "'any type allow
ed'"); | 223 shouldBe("nonNumericPolicy('document.elementFromPoint(0, x)')", "'any type allow
ed'"); |
| 224 | 224 |
| 225 // Element | 225 // Element |
| 226 | 226 |
| 227 shouldBe("nonNumericPolicy('document.body.scrollByLines(x)')", "'any type allowe
d'"); | 227 shouldBe("nonNumericPolicy('document.body.scrollByLines(x)')", "'any type allowe
d'"); |
| 228 shouldBe("nonNumericPolicy('document.body.scrollByPages(x)')", "'any type allowe
d'"); | 228 shouldBe("nonNumericPolicy('document.body.scrollByPages(x)')", "'any type allowe
d'"); |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 ../../../../WebCore/svg/SVGSVGElement.idl: attribute float curre
ntScale | 640 ../../../../WebCore/svg/SVGSVGElement.idl: attribute float curre
ntScale |
| 641 | 641 |
| 642 ../../../../WebCore/svg/SVGMatrix.idl: attribute double a; | 642 ../../../../WebCore/svg/SVGMatrix.idl: attribute double a; |
| 643 ../../../../WebCore/svg/SVGMatrix.idl: attribute double b; | 643 ../../../../WebCore/svg/SVGMatrix.idl: attribute double b; |
| 644 ../../../../WebCore/svg/SVGMatrix.idl: attribute double c; | 644 ../../../../WebCore/svg/SVGMatrix.idl: attribute double c; |
| 645 ../../../../WebCore/svg/SVGMatrix.idl: attribute double d; | 645 ../../../../WebCore/svg/SVGMatrix.idl: attribute double d; |
| 646 ../../../../WebCore/svg/SVGMatrix.idl: attribute double e; | 646 ../../../../WebCore/svg/SVGMatrix.idl: attribute double e; |
| 647 ../../../../WebCore/svg/SVGMatrix.idl: attribute double f; | 647 ../../../../WebCore/svg/SVGMatrix.idl: attribute double f; |
| 648 | 648 |
| 649 */ | 649 */ |
| OLD | NEW |