Undeployed GWT

17 views
Skip to first unread message

pete

unread,
Sep 3, 2011, 10:43:17 AM9/3/11
to Google Web Toolkit
Hello,

since I sometimes just play around with client side GWT, creating some
pure javascript to display sth. in the browser, I wondered, if it is
possible to comile/arrange the project in a way that I don't need a
server? Obviously normally just clicking the html file doesn't work,
instead I get

Unsafe JavaScript attempt to access frame with URL file:///path/blabla.html
from frame with URL file:///path/blabla/war/blabla/3C6B7EC5C425BB1E705BE5E8FE20CE6D.cache.html.
Domains, protocols and ports must match

Can anyone provide help on how to run the javascript without needing
any server? (meaning really no server, not just no server calls, I
don't want to deploy the project at all, just run it inside a local
html page)

Greetz,
Peter

Thomas Broyer

unread,
Sep 3, 2011, 11:23:56 AM9/3/11
to google-we...@googlegroups.com
Maybe try the "xsiframe" linker, it will load *.cache.js files instead of *.cache.html in order to trump the SOP, which is what you're facing ("Domains, protocols and ports must match")
Reply all
Reply to author
Forward
0 new messages