if i use the following code in my html the server's response will simply 
hold the content of the javascript snippet:

<script language="javascript">
<!--
   document.open();
     if (document.layers) {
       document.write("<link rel=\"stylesheet\" type=\"text/css\"
                            href=\"dropdown_ns.css\">");
     } else {
       document.write("<link rel=\"stylesheet\" type=\"text/css\"       
                            href=\"dropdown.css\">");
     }
   document.close();
//-->
</script>

the rest of the page does not exist in the server's response so all 
assertions will fail of course.
only if i remove document.close() the whole page ends up in the server's 
response. is this intended?

regards, torin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to