Interesting. You can open an issue by HtmlUnit for that if you want but
note that it works only for IE, Firefox gives following error:
-----------
Error: too much recursion
-----------
with such a code.
Cheers,
Marc.
Loehr, Ruel wrote:
> I’m not sure if this is even considered valid.
>
>
>
> <HTML>
>
> <HEAD>
>
> <script type="text/javascript">
>
> function onload(){
>
>
>
> }
>
> <script>
>
> </HEAD>
>
>
>
> <BODY onload=”onload()”></BODY>
>
> </HMTL>
>
>
>
> Invoking this via webtest yields:
>
>
>
> javascript error: TypeError: onload is not a function, it is
> java.lang.String
>
>
>
>
>
> Is the function name onload reserved?
>
>
>
>
>
>
>
>
>
>
>
>
>
> **Ruel Loehr**
>
> Configuration Management
>
>
>
> **Pointserve, Inc.**
>
> 110 Wild Basin Road
>
> Suite 300
>
> Austin, Texas 78746
>
> O: 512.617.5314
>
> F: 512.617.0466
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.14/1172 - Release Date:
> 12/5/2007 8:41 AM
>
--
Blog: http://mguillem.wordpress.com
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest