4 ms·
how will this affect facebook iframe apps? They load from a different origin, and the user is bound to receive a cross-domain error. normally, the following wo
by bazookaBen 15y ago
how will this affect facebook iframe apps? They load from a different origin, and the user is bound to receive a cross-domain error.
normally, the following would pass:
Unsafe JavaScript attempt to access frame with URL http://apps.facebook.com/my_app http://apps.facebook.com/my_app from frame with URL http://server-hosting-my-app.com http://server-hosting-my-app.com. Domains, protocols and ports must match.
will this blocked by Chrome in the future? if so, everyone running Chrome 14 onwards won't be able to play Farmville.
more info: if you load Farmville on Chrome, this comes up in the debug console (which still passes)
Unsafe JavaScript attempt to access frame with URL http://apps.facebook.com/cityville/?installed=1 http://apps.facebook.com/cityville/?installed=1 from frame with URL http://fb-0.cityville.zynga.com/flash.php?isOuterIframe=1&installed=1&[MORE http://fb-0.cityville.zynga.com/flash.php?isOuterIframe=1... INFO HERE CUT OUT]. Domains, protocols and ports must match.
- andrewf 15y agoUnsafe JavaScript attempt to access frame with URL http://apps.facebook.com/cityville/?installed=1 http://apps.facebook.com/cityville/?installed=1 from frame with URL http://fb-0.cityville.zynga.com/flash.php?isOuterIframe=1.. http://fb-0.cityville.zynga.com/flash.php?isOuterIframe=1... INFO HERE CUT OUT]. Domains, protocols and ports must match. That's always popped up in WebKit debuggers. I think everyone that's ever developed a Facebook app wastes 20 minutes learning that they can and should ignore it.
- abraham 15y agoStarting in October all Facebook canvas apps are required to support SSL https://developers.facebook.com/blog/post/497 https://developers.facebook.com/blog/post/497