Has anyone had any success with using the GWT 2.0 browser plugins when the app is hosted within a facebook iframe canvas? The application works well without the plugins loaded.
I believe the issue is related to the XSS / same domain policy that is missing in the old 1.7 hosted IE browser. Using the Web App Starter Project, the execution stops after painting "Please enter your name:" Chrome just alerts "Plugin failed to connect to hosted mode server at myhost.webhop.org:9997" and dies with this message in the javascript console: Unsafe JavaScript attempt to access frame with URL http://apps.facebook.com/myappname/?_fb_q=1 from frame with URL http://myhost.webhop.org:8080/newproject/hosted.html?newproject. Domains, protocols and ports must match. Uncaught TypeError: Cannot call method 'createElement' of undefined Firebug flags a javascript error at Permission denied for <http://myhost.webhop.org:8080> to get property Location.href from <http://facebook.com>. anonymous(Object name=errFn, "newproject", "http://myhost.webhop.org: 8080/newproject/")hosted.h...ewproject (line 227) z()newproje...ocache.js (line 2) anonymous()newproje...ocache.js (line 8) [Break on this error] var url = topWin.location.href;\n Has anyone figured out a way to get this to work? --Andy
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
