Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / srcdoc / srcdoc-beats-src-dom.html
blob0948fad7b3c5506e453aa51bd0c3dd266c57806d
1 <body>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 var ifrm = document.createElement("iframe");
7 ifrm.srcdoc = "PASS";
8 ifrm.src = "data:text/html,<script>alert(/FAIL/);<\/script>";
9 document.body.appendChild(ifrm);
10 </script>
11 This test passes if it doesn't alert FAIL.