Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / adopt-iframe-into-itself.html
blob3c57746593fee3991215d494c55f19fa4091a24d
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
5 function test() {
6 try {
7 var frame = document.getElementById("f");
8 var childNode = frame.contentDocument.adoptNode(frame);
9 } catch(ex) {
10 alert(ex);
13 </script>
14 <iframe id="f" onload="test();" src="data:text/html,<body></body>"></iframe>