Update of /cvsroot/jwebunit/jWebUnit/testcases/FramesAndWindowsTest
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4694/testcases/FramesAndWindowsTest

Modified Files:
        ChildPage2.html RootPage.html 
Log Message:
Added the last two tests to the Suite. After som fiexs, all tests pass with the 
HEAD version of HttpUnit. In httpunit-1.6 there is some problem with 
javascript:window.open(...) that gives an error:
java.lang.NoSuchFieldError: instance
        at 
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.toStringIfNotUndefined(JavaScript.java:286)
        at 
com.meterware.httpunit.javascript.JavaScript$Window.jsFunction_open(JavaScript.java:462)
The snapshot jar of httpunit is not committed.


Index: ChildPage2.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/FramesAndWindowsTest/ChildPage2.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ChildPage2.html     26 Dec 2005 10:53:21 -0000      1.2
--- ChildPage2.html     26 Dec 2005 14:27:06 -0000      1.3
***************
*** 1,8 ****
  <html>
        <head>
!               <title>This is child 2</title>
        </head>
        <body>
!               Child Page 2
        </body>
  </html>
\ No newline at end of file
--- 1,8 ----
  <html>
        <head>
!               <title>Child Page 2</title>
        </head>
        <body>
!               This is child 2
        </body>
  </html>
\ No newline at end of file

Index: RootPage.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/FramesAndWindowsTest/RootPage.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RootPage.html       26 Dec 2005 12:19:14 -0000      1.3
--- RootPage.html       26 Dec 2005 14:27:06 -0000      1.4
***************
*** 7,12 ****
                        <input name="color" value="blue">
                </form>
!                       <a id="ChildPage1" href="javascript:void(0)" 
onClick="javascript:window.open('ChildPage1.html', 'ChildPage1')">Child Page 
1</a>
!                       <a id="ChildPage2" href="javascript:void(0)" 
onClick="javascript:window.open('ChildPage2.html', 
'WindowNameForChilePage2')">Child Page 2</a>
        </body>
  </html>
\ No newline at end of file
--- 7,12 ----
                        <input name="color" value="blue">
                </form>
!                       <a id="ChildPage1" href="javascript:void(0)" 
onClick="javascript:window.open('ChildPage1.html', 'ChildPage1', 'width=650', 
true)">Child Page 1</a>
!                       <a id="ChildPage2" href="javascript:void(0)" 
onClick="javascript:window.open('ChildPage2.html', 'ChildPage2')">Child Page 
2</a>
        </body>
  </html>
\ No newline at end of file



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to