|
|
| version 1.102, 2005/11/22 11:12:40 | version 1.114, 2005/12/19 12:24:57 |
|---|---|
| Line 1 | Line 1 |
| ^for[i](1;200){ | @main[] |
| <hr> | ^try{ |
| $original[^for[j](1;$i){$j}] | ^mustfail[] |
| $original | }{ |
| <br> | ^if($exception.type eq xml){ |
| $encoded[^string:base64[$original]] | failed, that's OK |
| $encoded | $exception.handled(1) |
| <br> | } |
| $decoded[^encoded.base64[]] | |
| $decoded | |
| ^if($decoded ne $original){^throw[bug;here]} | |
| } | } |
| @mustfail[] | |
| $dom_from_disk[^xdoc::create[input]] | |
| $dom_created_in_air[^xdoc::create[doc]] | |
| ^dom_created_in_air.documentElement.appendChild[$dom_from_disk.documentElement] | |
| ^show_xdoc2[$dom_created_in_air] | |
| @show_xdoc2[xdoc] | |
| <pre>^taint[html][^xdoc.string[ | |
| $.method[html] | |
| ]] | |
| </pre> |