[Httpunit-commit] CVS: httpunit/jars jars.txt,1.9,1.10 js.jar,1.4,1.5 rhino-patch.txt,1.1,1.2
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-02-17 23:55:16
|
Update of /cvsroot/httpunit/httpunit/jars
In directory sc8-pr-cvs1:/tmp/cvs-serv28955/jars
Modified Files:
jars.txt js.jar rhino-patch.txt
Log Message:
#680695: Support form control ids and Button.click()
Index: jars.txt
===================================================================
RCS file: /cvsroot/httpunit/httpunit/jars/jars.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- jars.txt 13 Jan 2003 21:57:34 -0000 1.9
+++ jars.txt 17 Feb 2003 23:54:40 -0000 1.10
@@ -5,7 +5,7 @@
servlet 2.3
xerces 2.2
jtidy 04aug2000r7
-rhino 1.5preR4 (patched)
+rhino 1.5R4+ (patched)
NekoHTML 0.7.2
(for testing HttpUnit only)
Index: js.jar
===================================================================
RCS file: /cvsroot/httpunit/httpunit/jars/js.jar,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
Binary files /tmp/cvsChtcMX and /tmp/cvsO85UhQ differ
Index: rhino-patch.txt
===================================================================
RCS file: /cvsroot/httpunit/httpunit/jars/rhino-patch.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rhino-patch.txt 22 Dec 2002 14:06:51 -0000 1.1
+++ rhino-patch.txt 17 Feb 2003 23:54:40 -0000 1.2
@@ -1,13 +1,24 @@
Index: js/rhino/src/org/mozilla/javascript/Interpreter.java
===================================================================
RCS file: /cvsroot/mozilla/js/rhino/src/org/mozilla/javascript/Interpreter.java,v
-retrieving revision 1.113
-diff -r1.113 Interpreter.java
-2029a2030,2036
-> else if (lhs == undefined) {
-> // special code for better error message for get property from undefined
->
-> int i = getShort(iCode, pc-6);
-> if (i != -1) lhs=strings[i];
-> throw NativeGlobal.typeError1( "msg.is.not.defined", ScriptRuntime.toString(lhs),scope );
-> }
+retrieving revision 1.130
+diff -u -r1.130 Interpreter.java
+--- js/rhino/src/org/mozilla/javascript/Interpreter.java 17 Feb 2003 08:50:55 -0000 1.130
++++ js/rhino/src/org/mozilla/javascript/Interpreter.java 17 Feb 2003 15:43:53 -0000
+@@ -2032,6 +2032,16 @@
+ --stackTop;
+ Object lhs = stack[stackTop];
+ if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]);
++ else if (lhs == undefined) {
++ // special code for better error message for get property from undefined
++ int j = pc-6;
++ while (j > 0 && iCode[j] != 0) j--;
++ int i = getShort(iCode, j);
++ if (i >= 0 && i < strings.length) {
++ lhs=strings[i];
++ throw NativeGlobal.typeError1( "msg.is.not.defined", ScriptRuntime.toString(lhs),scope );
++ }
++ }
+ stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope);
+ break;
+ }
\ No newline at end of file
|