| <p>Inner iframe on a foreign domain.</p> |
| <iframe id="aFrame" name="aFrame"></iframe> |
| var url = "javascript:\"<html>" |
| + "window.onload = function()" |
| + "top.document.getElementById('accessMe').innerHTML = 'FAIL: Cross frame access from a javascript: URL on a different domain was allowed';" |
| + "if (window.testRunner)" |
| + "testRunner.notifyDone();" |
| + "<p>Inner-inner iframe. This iframe (which is javascript: URL and whose parent is on a foreign domain) is the frame attempting to access" |
| + " the main frame. It should not have access to it.</p>" |
| var frame = document.getElementById('aFrame'); |