Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / document-navigation-error-no-crash.html
blob47fae2474da01f40a7bed90a64a2c67c3f591161
1 <!DOCTYPE html>
2 <body onload=runTest()>
3 <iframe src="data:text/html,"></iframe>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 function runTest() {
9 var a = window.frames[0];
10 document.removeChild(document.head.parentNode);
11 a.location = "data:text/plain,pass";
12 console.log("PASS (No crash.)");
14 </script>
15 </body>