[Httpunit-commit] CVS: httpunit/src/com/meterware/httpunit/javascript JavaScript.java,1.47,1.48
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-03-19 17:41:08
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/javascript
In directory sc8-pr-cvs1:/tmp/cvs-serv7612/src/com/meterware/httpunit/javascript
Modified Files:
JavaScript.java
Log Message:
from Andrew Bickerton: reopening a document now overwrites rather than appending
Index: JavaScript.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/javascript/JavaScript.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- JavaScript.java 9 Mar 2003 20:35:47 -0000 1.47
+++ JavaScript.java 19 Mar 2003 17:41:04 -0000 1.48
@@ -542,6 +542,7 @@
public void jsFunction_close() {
getDelegate().replaceText( getWriteBuffer().toString(), _mimeType == null ? "text/html" : _mimeType );
+ getWriteBuffer().setLength(0);
}
|