Reviewers: jat,

Description:
At application startup, assert that the specified user.agent selection
property value indeed matches the expected value for the executing
browser / user agent, thus avoid long hours debugging strange error
messages when a single user agent compile, typically created for testing
purposes, ends up being executed in the wrong browser. In other words,
this patches saves you from pulling your hair out.

Fixes isuess: 5861


Please review this at http://gwt-code-reviews.appspot.com/1278801/show

Affected files:
  M user/src/com/google/gwt/user/UserAgent.gwt.xml
  A user/src/com/google/gwt/user/client/UserAgentAsserter.java
  A user/src/com/google/gwt/user/rebind/RuntimeUserAgentGenerator.java
  A user/src/com/google/gwt/user/rebind/UserAgentPropertyGenerator.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to