Insert a missing var, so that an iteration variable is in local scope.


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7624 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/core/client/JavaScriptException.java b/user/src/com/google/gwt/core/client/JavaScriptException.java
index 2284d0e..69ee8d2 100644
--- a/user/src/com/google/gwt/core/client/JavaScriptException.java
+++ b/user/src/com/google/gwt/core/client/JavaScriptException.java
@@ -84,7 +84,7 @@
   private static native String getProperties0(JavaScriptObject e) /*-{
     var result = "";
     try {
-      for (prop in e) {
+      for (var prop in e) {
         if (prop != "name" && prop != "message" && prop != "toString") {
           try {
             result += "\n " + prop + ": " + e[prop];