3 <p>Inner iframe on a foreign domain.</p>
4 <iframe id="aFrame" name="aFrame"></iframe>
6 var url = "data:text/html,<html>"
8 + "<p id='accessMe'>PASS: Cross frame access from a frame on a foreign domain denied!</p>"
9 + "<p>Inner-inner iframe. This iframe (which is data: URL and whose parent is on a foreign domain) is the frame that the"
10 + " main frame is trying to access. It should not have access to it.</p>"
14 var frame = document.getElementById('aFrame');
15 frame.onload = function () { window.parent.postMessage('run test', '*'); };