不安全的JavaScript尝试在Safari中访问帧警告 [英] Unsafe JavaScript attempt to access frame warning in Safari
问题描述
不安全的JavaScript尝试访问框架与URL http:// ...#...从框架与URL http://www.connect.facebook.com/extern/login_status.phpapi_key=..&extern=2&channel=http .. .xd_receiver.htm。
域,协议和端口必须匹配。
尽管我们看到Safari的定期挂起和其他不良行为,但似乎运行正常。当我运行其他Facebook Connect应用程序时,我有时也会看到这个错误,所以我不认为这是我们的实现问题。忽略这个警告是安全的吗?
Safari的跨框架安全性比其他浏览器更严格,我已经做了特定的try / catch
无论哪种方式,都会发布上游的bug,因为olliej建议。
I'm using Facebook Connect in my app. I have it working pretty well, but in the Safari Error console, I'm seeing errors like this:
Unsafe JavaScript attempt to access frame with URL http://...#... from frame with URL http://www.connect.facebook.com/extern/login_status.phpapi_key=..&extern=2&channel=http...xd_receiver.htm.
Domains, protocols and ports must match.
The app seems to function ok, though we are seeing periodic hangs and other bad behavior from Safari. When I run other Facebook Connect apps, I sometimes see this error too, so I don't think this is a problem with our implementation. Is it safe to ignore this warning?
Safari's cross frame security is tighter than other browsers, I have done specific try/catch wrappers to handle these cases, if it otherwise works, great.
Either way, would post the bug upstream as olliej suggests.
这篇关于不安全的JavaScript尝试在Safari中访问帧警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!