views:

125

answers:

2

Hi guys,

I compiled my GWT application and am testing it in the production mode. The application works fine on all browsers, except Google Chrome, which only an empty page shows up.

I tried to see if there were any options for compilation, but there weren't. Can somebody let me know what's wrong?

thanks,

-- Javad

A: 

I am curious to see the answer to this too. I am also having this same problem. Does your application run correctly in the other browsers like IE? Or does it crash for some reason.

cozmokramer8
This would probably be more appropriate as a comment. Just FYI.
mattbasta
Sry i didn't see the button for comment when there was not already an answer.
cozmokramer8
Hi cozmokramer8,Yes, it works with some minor quirks in all other major browsers(including IE). However, the problem only exist when I want to run the application itself(i.e running the generated code) directly in Chrome. When I embedded the js files in another page, Chrome works as well.
green-i
I can't seem to figure out what is going on. Does anyone have an answer for this? Extremely annoying since chrome is one of the few browsers that supports all of the html5 elements that gwt lets you access through java.
cozmokramer8
A: 

If you test via URL like 'file:///' , Chrome will block this URL The solution is upload your file to server (or localhost) and test via 'http://'