0
如果我们尝试访问跨源数据,哪些版本的IE会引发异常?如果我在javascript代码调用 $('iframe[name="iframe"]').contents().find('body')
iframe中的iframe跨源策略
IE不会抛出异常
然而,Chrome和Firefox做
DOMException: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame.(…)