Issue 527 in gwt-google-apis: Trying to access google calendar using the calendar api- the script is stopped by the browser with an error message x-frame options :https://www.googleapis.com/....../ does not permit cross domain framing

11 views
Skip to first unread message

gwt-goo...@googlecode.com

unread,
Nov 16, 2013, 12:25:48 PM11/16/13
to galgwt-issue-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 527 by arunmpra...@gmail.com: Trying to access google calendar
using the calendar api- the script is stopped by the browser with an error
message x-frame options :https://www.googleapis.com/....../ does not permit
cross domain framing
http://code.google.com/p/gwt-google-apis/issues/detail?id=527

Found in Release:

GWT 2.5.1, app engine sdk: 1.8.7
Platform information (OS, Browser, GWT version). Does the issue exist on
other platforms?
AFIK, it is a cross-domain load error

Give a Detailed description of the problem. If possible, please include
some code that reproduces the problem and a verbatim copy of any error
messages you can find.

The example google calendar code at
http://gwt-google-apis.googlecode.com/svn/trunk/apis/samples/calendar/demo/CalendarSample.html
does not work , because of the same error. The error I beleive is

Refused to
display 'https://www.googleapis.com/static/proxy.html?jsh=m%3B%2F_%2Fscs%2Fapps-stat…xGwg#parent=http%3A%2F%2Fgwt-google-apis.googlecode.com&rpctoken=290110019'
in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Workaround if you have one:


Links to the relevant Google Group posts:



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

gwt-goo...@googlecode.com

unread,
Nov 16, 2013, 8:39:09 PM11/16/13
to galgwt-issue-...@googlegroups.com
Updates:
Status: Accepted

Comment #1 on issue 527 by jaso...@google.com: Trying to access google
calendar using the calendar api- the script is stopped by the browser with
an error message x-frame options :https://www.googleapis.com/....../ does
not permit cross domain framing
http://code.google.com/p/gwt-google-apis/issues/detail?id=527

This is a known issue, arising from a recent change in the underlying
JavaScript client library. A fix for it has been proposed and I'll try to
get this fix pushed to the public repository next week.

Until then, the fix is to change [1] to point to content.googleapis.com
instead of www.googleapis.com

[1]
https://code.google.com/p/gwt-google-apis/source/browse/trunk/apis/src/com/google/api/gwt/client/GoogleApiRequestTransport.java#43

gwt-goo...@googlecode.com

unread,
Nov 17, 2013, 1:22:06 AM11/17/13
to galgwt-issue-...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 527 by jaso...@google.com: Trying to access google
calendar using the calendar api- the script is stopped by the browser with
an error message x-frame options :https://www.googleapis.com/....../ does
not permit cross domain framing
http://code.google.com/p/gwt-google-apis/issues/detail?id=527

Fixed in r2044
Reply all
Reply to author
Forward
0 new messages