| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 shouldBe("nonNumericPolicy('getSelection().setPosition(document, x)')", "'any ty
pe allowed'"); | 316 shouldBe("nonNumericPolicy('getSelection().setPosition(document, x)')", "'any ty
pe allowed'"); |
| 317 shouldBe("nonNumericPolicy('getSelection().extend(document, x)')", "'any type al
lowed'"); | 317 shouldBe("nonNumericPolicy('getSelection().extend(document, x)')", "'any type al
lowed'"); |
| 318 shouldBe("nonNumericPolicy('getSelection().getRangeAt(x)')", "'any type allowed'
"); | 318 shouldBe("nonNumericPolicy('getSelection().getRangeAt(x)')", "'any type allowed'
"); |
| 319 | 319 |
| 320 // SQLResultSetRowList | 320 // SQLResultSetRowList |
| 321 | 321 |
| 322 // Not tested: item. | 322 // Not tested: item. |
| 323 | 323 |
| 324 // StyleSheetList | 324 // StyleSheetList |
| 325 | 325 |
| 326 shouldBe("nonNumericPolicy('document.styleSheets.item(x)')", "'any type allowed'
"); | 326 shouldBe("nonNumericPolicy('document.styleSheets.item(x)')", "'any type allowed
(but not omitted)'"); |
| 327 | 327 |
| 328 // Text | 328 // Text |
| 329 | 329 |
| 330 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").splitText(x)')", "'an
y type allowed (but not omitted)'"); | 330 shouldBe("nonNumericPolicy('document.createTextNode(\"a\").splitText(x)')", "'an
y type allowed (but not omitted)'"); |
| 331 | 331 |
| 332 // TimeRanges | 332 // TimeRanges |
| 333 | 333 |
| 334 // Not tested: start, end. | 334 // Not tested: start, end. |
| 335 | 335 |
| 336 // TreeWalker | 336 // TreeWalker |
| (...skipping 303 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 |