blob: f19a317247c2031d8707b0fb80de46fe507a0b3a [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFrames();
}
</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>