| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 // NamedNodeMap | 292 // NamedNodeMap |
| 293 | 293 |
| 294 shouldBe("nonNumericPolicy('document.body.attributes.item(x)')", "'any type allo
wed'"); | 294 shouldBe("nonNumericPolicy('document.body.attributes.item(x)')", "'any type allo
wed'"); |
| 295 | 295 |
| 296 // NodeIterator | 296 // NodeIterator |
| 297 | 297 |
| 298 shouldBe("nonNumericPolicy('document.createNodeIterator(document, x, null, false
)')", "'any type allowed'"); | 298 shouldBe("nonNumericPolicy('document.createNodeIterator(document, x, null, false
)')", "'any type allowed'"); |
| 299 | 299 |
| 300 // NodeList | 300 // NodeList |
| 301 | 301 |
| 302 shouldBe("nonNumericPolicy('document.getElementsByTagName(\"div\").item(x)')", "
'any type allowed'"); | 302 shouldBe("nonNumericPolicy('document.getElementsByTagName(\"div\").item(x)')", "
'any type allowed (but not omitted)'"); |
| 303 | 303 |
| 304 // Range | 304 // Range |
| 305 | 305 |
| 306 shouldBe("nonNumericPolicy('document.createRange().setStart(document, x)')", "'a
ny type allowed'"); | 306 shouldBe("nonNumericPolicy('document.createRange().setStart(document, x)')", "'a
ny type allowed'"); |
| 307 shouldBe("nonNumericPolicy('document.createRange().setEnd(document, x)')", "'any
type allowed'"); | 307 shouldBe("nonNumericPolicy('document.createRange().setEnd(document, x)')", "'any
type allowed'"); |
| 308 shouldBe("nonNumericPolicy('document.createRange().comparePoint(document, x)')",
"'any type allowed'"); | 308 shouldBe("nonNumericPolicy('document.createRange().comparePoint(document, x)')",
"'any type allowed'"); |
| 309 shouldBe("nonNumericPolicy('document.createRange().isPointInRange(document, x)')
", "'any type allowed'"); | 309 shouldBe("nonNumericPolicy('document.createRange().isPointInRange(document, x)')
", "'any type allowed'"); |
| 310 | 310 |
| 311 // Selection | 311 // Selection |
| 312 | 312 |
| (...skipping 327 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 |