Export to GitHub

google-web-toolkit - issue #7458

Super Dev Mode shouldn't compile 6 permutations when user.agent is missing


Posted on Jun 27, 2012 by Happy Elephant

If you are running a GWT app directly from the code server (for example if it's a purely static app with an html page included as a resource), the user.agent is not set correctly. On the first recompile, it will compile all 6 permutations, when only one is needed.

A workaround is to restrict the browser permutations in the gwt.xml file. For example, if you are using Chrome or Safari:

<set-property name="user.agent" value="safari"/>

Current as of GWT 2.5 rc1. Ported from internal bug tracker: http://b/issue?id=6547854

Comment #1

Posted on May 23, 2014 by Happy Elephant

Review at: https://code.google.com/p/google-web-toolkit/issues/detail?id=7458

Comment #2

Posted on May 26, 2014 by Swift Rhino

I suppose you meant https://gwt-review.googlesource.com/7702 ;-)

Comment #3

Posted on May 28, 2014 by Happy Elephant

Yes, thanks.

Comment #4

Posted on Oct 30, 2014 by Massive Cat

Bulk edit: Released since GWT 2.7.0 RC1

Status: Fixed

Labels:
Category-SuperDevMode Milestone-2_7