Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / adopt-object-into-itself.html
bloba8909dde3534c9a644ff57cb27d3613ec2280b00
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 <object id="f" onload="test();" data="data:text/html,<body></body>"></object>