blob: ef491d9597cd9b62f3808884adaa10f3959855c5 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
}
</script>
<p>This test ensures that setting the src attribute does not cause the document
inside the iframe to change.</p>
<iframe srcdoc="
<script>
window.frameElement.src = 'data:text/html,<script>alert(/FAIL/);<\/script>';
</script>
PASS
"></iframe>