【发布时间】:2014-07-11 22:20:00
【问题描述】:
我正在本地机器上运行一个 Angular 应用程序,它通过 CORS 连接到本地 API。应用在 localhost:8000 上运行,API 在 localhost:7999 上运行。
过去我一直依靠xdomain 来处理我的 IE9 兼容性,但这次我没有任何运气。这是来自 IE9 的控制台日志...
LOG: xdomain (localhost:8000): adding slave: 'localhost:7999'
LOG: xdomain (localhost:8000): proxying request to slave: 'localhost:7999'
LOG: xdomain (localhost:8000): creating iframe xdomain-8f12dd3f
LOG: xdomain (localhost:8000): new socket: xdomain-20f6dbf3
xdomain (localhost:8000): Timeout waiting on iframe socket
有其他人遇到过这个问题吗?
【问题讨论】:
标签: angularjs iframe cors postmessage