Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / srcdoc / setting-src-does-nothing.html
blobef491d9597cd9b62f3808884adaa10f3959855c5
1 <script>
2 if (window.testRunner) {
3 testRunner.dumpAsText();
4 testRunner.dumpChildFramesAsText();
6 </script>
7 <p>This test ensures that setting the src attribute does not cause the document
8 inside the iframe to change.</p>
9 <iframe srcdoc="
10 <script>
11 window.frameElement.src = 'data:text/html,<script>alert(/FAIL/);<\/script>';
12 </script>
13 PASS
14 "></iframe>