3 <p>Frame on a foreign domain (opened using window.open).</p>
4 <iframe id="aFrame"></iframe>
6 var url = "javascript:\"<html>"
8 + "<p id='accessMe'>PASS: Access from the main frame was denied!</p>"
9 + "<p>Inner-inner iframe. This iframe (which is javascript: 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.opener.postMessage('run test', '*'); };