Friday, October 23, 2015

Re: SuperDevMode and same origin policy

Thomas, you are right. I had some conditional logic which chose which scripts should be loaded in production or dev mode (original or minified and merged) but I used GWT.isProdMode() and forgot that in SDM it returns true... Sorry for that.

You can use the following in your condition:

public static boolean isSDM() {
return GWT.isScript() && !GWT.getModuleBaseForStaticFiles().equals(GWT.getModuleBaseURL());

-- J.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment