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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 shouldBe("nonNumericPolicy('document.createElement(\"input\").setSelectionRange(
0, x)')", "'any type allowed'"); | 243 shouldBe("nonNumericPolicy('document.createElement(\"input\").setSelectionRange(
0, x)')", "'any type allowed'"); |
244 | 244 |
245 // HTMLOptionsCollection | 245 // HTMLOptionsCollection |
246 | 246 |
247 shouldBe("nonNumericPolicy('createHTMLOptionsCollection().add(document.createEle
ment(\"option\"), x)')", "'any type allowed'"); | 247 shouldBe("nonNumericPolicy('createHTMLOptionsCollection().add(document.createEle
ment(\"option\"), x)')", "'any type allowed'"); |
248 shouldBe("nonNumericPolicy('createHTMLOptionsCollection().remove(x)')", "'any ty
pe allowed'"); | 248 shouldBe("nonNumericPolicy('createHTMLOptionsCollection().remove(x)')", "'any ty
pe allowed'"); |
249 | 249 |
250 // HTMLSelectElement | 250 // HTMLSelectElement |
251 | 251 |
252 shouldBe("nonNumericPolicy('createHTMLSelectElement().remove(x)')", "'any type a
llowed'"); | 252 shouldBe("nonNumericPolicy('createHTMLSelectElement().remove(x)')", "'any type a
llowed'"); |
253 shouldBe("nonNumericPolicy('createHTMLSelectElement().item(x)')", "'any type all
owed'"); | 253 shouldBe("nonNumericPolicy('createHTMLSelectElement().item(x)')", "'any type all
owed (but not omitted)'"); |
254 | 254 |
255 // HTMLTableElement | 255 // HTMLTableElement |
256 | 256 |
257 shouldBe("nonNumericPolicy('createHTMLTableElement().insertRow(x)')", "'any type
allowed'"); | 257 shouldBe("nonNumericPolicy('createHTMLTableElement().insertRow(x)')", "'any type
allowed'"); |
258 shouldBe("nonNumericPolicy('createHTMLTableElement().deleteRow(x)')", "'any type
allowed'"); | 258 shouldBe("nonNumericPolicy('createHTMLTableElement().deleteRow(x)')", "'any type
allowed'"); |
259 | 259 |
260 // HTMLTableRowElement | 260 // HTMLTableRowElement |
261 | 261 |
262 shouldBe("nonNumericPolicy('createHTMLTableRowElement().insertCell(x)')", "'any
type allowed'"); | 262 shouldBe("nonNumericPolicy('createHTMLTableRowElement().insertCell(x)')", "'any
type allowed'"); |
263 shouldBe("nonNumericPolicy('createHTMLTableRowElement().deleteCell(x)')", "'any
type allowed'"); | 263 shouldBe("nonNumericPolicy('createHTMLTableRowElement().deleteCell(x)')", "'any
type allowed'"); |
(...skipping 376 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 |