[Httpunit-commit] CVS: httpunit/src/com/meterware/httpunit HTMLPage.java,1.14,1.15
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2002-11-03 06:28:40
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/httpunit
In directory usw-pr-cvs1:/tmp/cvs-serv18490/src/com/meterware/httpunit
Modified Files:
HTMLPage.java
Log Message:
Support location.replace
Index: HTMLPage.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/HTMLPage.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- HTMLPage.java 24 Oct 2002 13:28:53 -0000 1.14
+++ HTMLPage.java 3 Nov 2002 06:28:36 -0000 1.15
@@ -166,11 +166,7 @@
delegate = getNamedItem( getImages(), propertyName );
if (delegate != null) return delegate;
- if (propertyName.equalsIgnoreCase( "location" )) {
- return getResponse().getScriptableObject().get( "location" );
- } else {
- return super.get( propertyName );
- }
+ return super.get( propertyName );
}
|