[Httpunit-commit] CVS: httpunit/doc Javascript-support.html,1.24,1.25 release_notes.txt,1.189,1.190
Brought to you by:
russgold
From: Russell G. <rus...@us...> - 2002-10-11 01:26:26
|
Update of /cvsroot/httpunit/httpunit/doc In directory usw-pr-cvs1:/tmp/cvs-serv1468/doc Modified Files: Javascript-support.html release_notes.txt todo.txt Log Message: Added support for closing windows Index: Javascript-support.html =================================================================== RCS file: /cvsroot/httpunit/httpunit/doc/Javascript-support.html,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- Javascript-support.html 11 Oct 2002 00:08:09 -0000 1.24 +++ Javascript-support.html 11 Oct 2002 01:26:22 -0000 1.25 @@ -9,6 +9,7 @@ <h3>Window</h3> <h4>properties</h4> <ul> +<li>closed - true if the window has been closed</li> <li>document - the associated Document object</li> <li>frames - an array of subframes of this window</li> <li>location - r/w full URL only</li> @@ -28,6 +29,7 @@ <h4>methods</h4> <ul> <li>alert() - queues up an alert message, accessible via WebResponse.getNextAlert() or popNextAlert()</li> +<li>close() - closes the window</li> <li>confirm() - invokes a callback supplied via WebClient.setDialogResponder to return the user's response. By default, the callback returns true. Users may change this by supplying an implementation of DialogResponder.</li> <li>prompt() - invokes a callback supplied via WebClient.setDialogResponder to return the user's response</li> Index: release_notes.txt =================================================================== RCS file: /cvsroot/httpunit/httpunit/doc/release_notes.txt,v retrieving revision 1.189 retrieving revision 1.190 diff -u -r1.189 -r1.190 --- release_notes.txt 11 Oct 2002 00:23:20 -0000 1.189 +++ release_notes.txt 11 Oct 2002 01:26:22 -0000 1.190 @@ -19,6 +19,9 @@ 1. Added support for Window.parent 2. Added support for Window.<subframe-name> 3. Added WebWindow.getOpenedWindow() to return a window by its name. + 4. You may now close a window by calling window.close(). This will trigger any active listeners. If the window closed + the main window, another window will be promoted to that status. + 5. Added support for Window.close() and Window.closed 9-Oct-2002 Acknowledgements: Index: todo.txt =================================================================== RCS file: /cvsroot/httpunit/httpunit/doc/todo.txt,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- todo.txt 11 Oct 2002 00:23:20 -0000 1.36 +++ todo.txt 11 Oct 2002 01:26:22 -0000 1.37 @@ -1,5 +1,4 @@ High priority: -o closing windows o better support for use with proxy server Medium priority: |