| testRunner.dumpChildFramesAsText(); |
| testRunner.waitUntilDone(); |
| var innerURL = "data:text/html,<html>" |
| + "top.document.getElementById(\"accessMe\").innerHTML = \"FAIL: Cross frame access from a data: URL inside another data: URL was allowed.\";" |
| + "if (window.testRunner)" |
| + "testRunner.notifyDone();" |
| + "<body onload=\"test();\">" |
| + "<p>Inner-inner iframe.</p>" |
| var url = "data:text/html,<html>" |
| + "<iframe src='" + innerURL + "'></iframe>" |
| var iframe = document.getElementById("aFrame"); |
| <body onload="loaded();"> |
| <p>This tests that a data: URL loaded in an iframe inside another data: URL loaded iframe doesn't have access to the main frame.</p> |
| <iframe id="aFrame" name="aFrame" style="width: 500px; height: 300px;"></iframe> |
| <p id='accessMe'>PASS: Cross frame access from a data: URL inside another data: URL was denied.</p> |