[Httpunit-commit] CVS: httpunit/src/com/meterware/httpunit/javascript JavaScript.java,1.29,1.30
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2002-10-10 20:20:39
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/javascript
In directory usw-pr-cvs1:/tmp/cvs-serv14389/src/com/meterware/httpunit/javascript
Modified Files:
JavaScript.java
Log Message:
Corrected reversed Window.open params
Index: JavaScript.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/javascript/JavaScript.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- JavaScript.java 9 Oct 2002 17:16:31 -0000 1.29
+++ JavaScript.java 10 Oct 2002 20:20:36 -0000 1.30
@@ -376,9 +376,9 @@
}
- public Window jsFunction_open( String name, Object url, String features, boolean replace )
+ public Window jsFunction_open( Object url, String name, String features, boolean replace )
throws PropertyException, JavaScriptException, NotAFunctionException, IOException, SAXException {
- return (Window) toScriptable( getDelegate().open( name, toStringIfNotUndefined( url ), features, replace ) );
+ return (Window) toScriptable( getDelegate().open( toStringIfNotUndefined( url ), name, features, replace ) );
}
|