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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 shouldBe("nonNumericPolicy('document.createRange().comparePoint(document, x)')",
"'any type allowed (but not omitted)'"); | 291 shouldBe("nonNumericPolicy('document.createRange().comparePoint(document, x)')",
"'any type allowed (but not omitted)'"); |
292 shouldBe("nonNumericPolicy('document.createRange().isPointInRange(document, x)')
", "'any type allowed (but not omitted)'"); | 292 shouldBe("nonNumericPolicy('document.createRange().isPointInRange(document, x)')
", "'any type allowed (but not omitted)'"); |
293 | 293 |
294 // Selection | 294 // Selection |
295 | 295 |
296 shouldBe("nonNumericPolicy('getSelection().collapse(document, x)')", "'any type
allowed'"); | 296 shouldBe("nonNumericPolicy('getSelection().collapse(document, x)')", "'any type
allowed'"); |
297 shouldBe("nonNumericPolicy('getSelection().setBaseAndExtent(document, x, documen
t, 0)')", "'any type allowed'"); | 297 shouldBe("nonNumericPolicy('getSelection().setBaseAndExtent(document, x, documen
t, 0)')", "'any type allowed'"); |
298 shouldBe("nonNumericPolicy('getSelection().setBaseAndExtent(document, 0, documen
t, x)')", "'any type allowed'"); | 298 shouldBe("nonNumericPolicy('getSelection().setBaseAndExtent(document, 0, documen
t, x)')", "'any type allowed'"); |
299 shouldBe("nonNumericPolicy('getSelection().collapse(document, x)')", "'any type
allowed'"); | 299 shouldBe("nonNumericPolicy('getSelection().collapse(document, x)')", "'any type
allowed'"); |
300 shouldBe("nonNumericPolicy('getSelection().extend(document, x)')", "'any type al
lowed'"); | 300 shouldBe("nonNumericPolicy('getSelection().extend(document, x)')", "'any type al
lowed'"); |
301 shouldBe("nonNumericPolicy('getSelection().getRangeAt(x)')", "'any type allowed'
"); | 301 shouldBe("nonNumericPolicy('getSelection().getRangeAt(x)')", "'any type allowed
(but not omitted)'"); |
302 | 302 |
303 // SQLResultSetRowList | 303 // SQLResultSetRowList |
304 | 304 |
305 // Not tested: item. | 305 // Not tested: item. |
306 | 306 |
307 // StyleSheetList | 307 // StyleSheetList |
308 | 308 |
309 shouldBe("nonNumericPolicy('document.styleSheets.item(x)')", "'any type allowed
(but not omitted)'"); | 309 shouldBe("nonNumericPolicy('document.styleSheets.item(x)')", "'any type allowed
(but not omitted)'"); |
310 | 310 |
311 // Text | 311 // Text |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 ../../../../WebCore/svg/SVGSVGElement.idl: attribute float curre
ntScale | 623 ../../../../WebCore/svg/SVGSVGElement.idl: attribute float curre
ntScale |
624 | 624 |
625 ../../../../WebCore/svg/SVGMatrix.idl: attribute double a; | 625 ../../../../WebCore/svg/SVGMatrix.idl: attribute double a; |
626 ../../../../WebCore/svg/SVGMatrix.idl: attribute double b; | 626 ../../../../WebCore/svg/SVGMatrix.idl: attribute double b; |
627 ../../../../WebCore/svg/SVGMatrix.idl: attribute double c; | 627 ../../../../WebCore/svg/SVGMatrix.idl: attribute double c; |
628 ../../../../WebCore/svg/SVGMatrix.idl: attribute double d; | 628 ../../../../WebCore/svg/SVGMatrix.idl: attribute double d; |
629 ../../../../WebCore/svg/SVGMatrix.idl: attribute double e; | 629 ../../../../WebCore/svg/SVGMatrix.idl: attribute double e; |
630 ../../../../WebCore/svg/SVGMatrix.idl: attribute double f; | 630 ../../../../WebCore/svg/SVGMatrix.idl: attribute double f; |
631 | 631 |
632 */ | 632 */ |
OLD | NEW |