【发布时间】:2016-02-11 23:13:21
【问题描述】:
我在http://localhost/page1 有一个页面 并在该页面上,我在某些 div 的 iframe 中显示 http://localhost/page2 内容。
它在 chrome 中运行良好。但是在 Firefox 中,page2 不显示。
我在 Firefox 控制台中没有收到任何警告/错误。
由于两个页面具有相同的域。 firefox 应该正确加载 page2 iframe
我错过了什么明显的东西吗?
【问题讨论】:
-
同样的问题 - 相同的协议,相同的域,控制台中没有错误。但加载没有发生
标签: firefox iframe web same-origin-policy