6
我有一個嵌入在iframe中的頁面,從該頁面打開一個彈出窗口,並嘗試從彈出窗口訪問opener對象中的文檔,在JS控制檯中獲取以下錯誤。無法訪問Chrome中的opener文檔
Uncaught SecurityError: Blocked a frame with origin
https://<domain>
from accessing a frame with origin "swappedout://". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "swappedout". Protocols must match.
PS:這是一些在Chrome版本
感謝提前做工精細。