Add a JavaScript method to GWT's bootstrap code for getting the selected
values of all the binding properties.


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10794 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/core/ext/linker/impl/properties.js b/dev/core/src/com/google/gwt/core/ext/linker/impl/properties.js
index 7228358..6e9ec26 100644
--- a/dev/core/src/com/google/gwt/core/ext/linker/impl/properties.js
+++ b/dev/core/src/com/google/gwt/core/ext/linker/impl/properties.js
@@ -46,5 +46,15 @@
   // property providers.
   __gwt_isKnownPropertyValue = function(propName, propValue) {
     return propValue in values[propName];
-  }
+  };
+
+  // Gets a map of the non-constant, non-derived binding properties
+  __MODULE_FUNC__.__getPropMap = function() {
+    var result = {};
+    for (var key in values) {
+      result[key] = computePropValue(key);
+    }
+    return result;
+  };
+
   __MODULE_FUNC__.__computePropValue = computePropValue;
diff --git a/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeTemplate.js b/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeTemplate.js
index 179f00e..166646c 100644
--- a/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeTemplate.js
+++ b/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeTemplate.js
@@ -66,6 +66,8 @@
 
   // Exposed for devmode.js
   __MODULE_FUNC__.__computePropValue = null;
+  // Exposed for super dev mode
+  __MODULE_FUNC__.__getPropMap = null;
   
   // Exposed for runAsync
   __MODULE_FUNC__.__gwtInstallCode = function() {};
@@ -104,9 +106,12 @@
   // Provides the computeUrlForResource() function
   __COMPUTE_URL_FOR_RESOURCE__
 
-  // Provides the getCompiledCodeFilename() function which sets the
-  // __gwt_isKnownPropertyValue, MODULE_FUNC__.__computePropValue and
-  // __MODULE_FUNC__.__softPermutationId variables if needed
+  // Provides the getCompiledCodeFilename() function which sets the following
+  // variables if needed:
+  //   __gwt_isKnownPropertyValue
+  //   __MODULE_FUNC__.__computePropValue
+  //   __MODULE_FUNC__.__getPropMap
+  //   __MODULE_FUNC__.__softPermutationId
   __PERMUTATIONS__
 
   // Provides the loadExternalStylesheets() function