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