开发者

Blank page in Chrome & Safari after compiling

I'm writing a web application in GWT and always worked in Dev Mode. I wanted to check some things in other browsers so I compiled the whole app and opened 开发者_开发技巧it in all major browsers. The application shows in Firefox and IE, but not in Chrome and Safari. Chrome and Safari just give me a blank page. When I press ctrl + u to view the source, the code is there, but it doesn't to anything.

I already checked the html host page for errors with the W3C validator but there were none. Any other suggestions?


You might have a JavaScript error, did you try debugging the JS?

Google Chrome Javascript Debugger and Content Scripts


Ok I got it working the following way. When I compile everything and just open the file In chrome or safari it doesn't work and I get following error in the console:

Unsafe JavaScript attempt to access frame with URL file:///H:/xampp/htdocs/bibliotheek/BibPhp.html from frame with URL file:///H:/xampp/htdocs/bibliotheek/bibphp/66B91B7CC29032C1F497FD7DE63723A5.cache.html. Domains, protocols and ports must match.

But when I transfer everything to my web server it works fine. It has to do something with cross server accessing frames. Here is more about the issue: http://code.google.com/p/chromium/issues/detail?id=31068

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜